Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite19470a

Browse files
Fix issue with supported platforms string
1 parent396d28f commite19470a

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

‎api/src/main/java/club/minnced/opus/util/OpusLibrary.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class OpusLibrary {
3737
platforms.put("linux-x86-64","so");
3838
platforms.put("win32-x86","dll");
3939
platforms.put("win32-x86-64","dll");
40-
SUPPORTED_SYSTEMS ="Supported Systems: " +platforms.values() +"\nCurrent Operating system: " +Platform.RESOURCE_PREFIX;
40+
SUPPORTED_SYSTEMS ="Supported Systems: " +platforms.keySet() +"\nCurrent Operating system: " +Platform.RESOURCE_PREFIX;
4141
}
4242

4343
privateOpusLibrary() {}
@@ -49,7 +49,7 @@ private OpusLibrary() {}
4949
* @return Immutable list of currently supported platforms
5050
*/
5151
publicstaticList<String>getSupportedPlatforms() {
52-
returnCollections.unmodifiableList(newArrayList<>(platforms.values()));
52+
returnCollections.unmodifiableList(newArrayList<>(platforms.keySet()));
5353
}
5454

5555
/**

‎build.gradle‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
plugins {
2-
id'com.jfrog.bintray' version'1.7.3'
2+
id'com.jfrog.bintray' version'1.8.1'
33
}
44

55
group='club.minnced'
6-
project.version='1.0.3'
7-
8-
taskwrapper(type:Wrapper) {
9-
gradleVersion="4.6"
10-
}
6+
project.version='1.0.4'
117

128
allprojects {
139
repositories {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

‎settings.gradle‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
rootProject.name='opus-java'
22
include'api','natives'
3+
enableFeaturePreview('STABLE_PUBLISHING')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp