diff options
| author | 2021-03-17 21:29:48 +0000 | |
|---|---|---|
| committer | 2021-03-17 21:29:48 +0000 | |
| commit | 8b70a8c322e3fb653f7b023ac1828ee94716dff4 (patch) | |
| tree | 57aec3d268db53abd5db5bf56f6a5fb96c6aede6 | |
| parent | Bump version (diff) | |
| download | enigma-fork-8b70a8c322e3fb653f7b023ac1828ee94716dff4.tar.gz enigma-fork-8b70a8c322e3fb653f7b023ac1828ee94716dff4.tar.xz enigma-fork-8b70a8c322e3fb653f7b023ac1828ee94716dff4.zip | |
Update all deps, remove usage of jcenter (#359)
* Update all deps, remove usage of jcenter
* Use jdk 15
| -rw-r--r-- | .github/workflows/build.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 2 | ||||
| -rw-r--r-- | build.gradle | 8 | ||||
| -rw-r--r-- | enigma-swing/build.gradle | 2 | ||||
| -rw-r--r-- | enigma/build.gradle | 14 | ||||
| -rw-r--r-- | gradle/wrapper/gradle-wrapper.jar | bin | 58694 -> 59203 bytes | |||
| -rw-r--r-- | gradle/wrapper/gradle-wrapper.properties | 2 | ||||
| -rwxr-xr-x | gradlew | 2 | ||||
| -rw-r--r-- | gradlew.bat | 22 |
9 files changed, 19 insertions, 35 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5aa1cd4..8557b58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -4,7 +4,7 @@ jobs: | |||
| 4 | build: | 4 | build: |
| 5 | strategy: | 5 | strategy: |
| 6 | matrix: | 6 | matrix: |
| 7 | java: [8-jdk, 11-jdk] | 7 | java: [8-jdk, 11-jdk, 15-jdk] |
| 8 | runs-on: ubuntu-20.04 | 8 | runs-on: ubuntu-20.04 |
| 9 | container: | 9 | container: |
| 10 | image: openjdk:${{ matrix.java }} | 10 | image: openjdk:${{ matrix.java }} |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c221f6..9590c18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml | |||
| @@ -4,7 +4,7 @@ jobs: | |||
| 4 | build: | 4 | build: |
| 5 | runs-on: ubuntu-20.04 | 5 | runs-on: ubuntu-20.04 |
| 6 | container: | 6 | container: |
| 7 | image: openjdk:11-jdk | 7 | image: openjdk:15-jdk |
| 8 | options: --user root | 8 | options: --user root |
| 9 | steps: | 9 | steps: |
| 10 | - uses: actions/checkout@v1 | 10 | - uses: actions/checkout@v1 |
diff --git a/build.gradle b/build.gradle index e23fa4c..e05f8bb 100644 --- a/build.gradle +++ b/build.gradle | |||
| @@ -16,11 +16,11 @@ subprojects { | |||
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | dependencies { | 18 | dependencies { |
| 19 | implementation 'com.google.guava:guava:28.0-jre' | 19 | implementation 'com.google.guava:guava:30.1-jre' |
| 20 | implementation 'com.google.code.gson:gson:2.8.5' | 20 | implementation 'com.google.code.gson:gson:2.8.6' |
| 21 | 21 | ||
| 22 | testImplementation 'junit:junit:4.+' | 22 | testImplementation 'junit:junit:4.13.2' |
| 23 | testImplementation 'org.hamcrest:hamcrest-all:1.+' | 23 | testImplementation 'org.hamcrest:hamcrest-all:1.3' |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | group = 'cuchaz' | 26 | group = 'cuchaz' |
diff --git a/enigma-swing/build.gradle b/enigma-swing/build.gradle index 2966ae7..4f30139 100644 --- a/enigma-swing/build.gradle +++ b/enigma-swing/build.gradle | |||
| @@ -10,7 +10,7 @@ dependencies { | |||
| 10 | implementation 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3' | 10 | implementation 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3' |
| 11 | implementation 'com.bulenkov:darcula:1.0.0-bobbylight' | 11 | implementation 'com.bulenkov:darcula:1.0.0-bobbylight' |
| 12 | implementation 'de.sciss:syntaxpane:1.2.0' | 12 | implementation 'de.sciss:syntaxpane:1.2.0' |
| 13 | implementation 'com.github.lukeu:swing-dpi:0.6' | 13 | implementation 'com.github.lukeu:swing-dpi:0.9' |
| 14 | implementation 'org.drjekyll:fontchooser:2.4' | 14 | implementation 'org.drjekyll:fontchooser:2.4' |
| 15 | } | 15 | } |
| 16 | 16 | ||
diff --git a/enigma/build.gradle b/enigma/build.gradle index 3a13603..87ddf12 100644 --- a/enigma/build.gradle +++ b/enigma/build.gradle | |||
| @@ -2,20 +2,16 @@ configurations { | |||
| 2 | proGuard | 2 | proGuard |
| 3 | } | 3 | } |
| 4 | 4 | ||
| 5 | repositories.jcenter() | ||
| 6 | |||
| 7 | dependencies { | 5 | dependencies { |
| 8 | implementation 'org.ow2.asm:asm:9.0' | 6 | implementation 'org.ow2.asm:asm:9.1' |
| 9 | implementation 'org.ow2.asm:asm-commons:9.0' | 7 | implementation 'org.ow2.asm:asm-commons:9.1' |
| 10 | implementation 'org.ow2.asm:asm-tree:9.0' | 8 | implementation 'org.ow2.asm:asm-tree:9.1' |
| 11 | implementation 'org.ow2.asm:asm-util:9.0' | 9 | implementation 'org.ow2.asm:asm-util:9.1' |
| 12 | 10 | ||
| 13 | implementation 'net.fabricmc:procyon-fabric-compilertools:0.5.35.13' | 11 | implementation 'net.fabricmc:procyon-fabric-compilertools:0.5.35.13' |
| 14 | implementation 'net.fabricmc:cfr:0.0.2' | 12 | implementation 'net.fabricmc:cfr:0.0.2' |
| 15 | 13 | ||
| 16 | testImplementation 'junit:junit:4.+' | 14 | proGuard 'com.guardsquare:proguard-base:7.1.0-beta1' |
| 17 | testImplementation 'org.hamcrest:hamcrest-all:1.+' | ||
| 18 | proGuard 'com.guardsquare:proguard-base:7.0.1' | ||
| 19 | } | 15 | } |
| 20 | 16 | ||
| 21 | // Generate "version.txt" file | 17 | // Generate "version.txt" file |
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 490fda8..e708b1c 100644 --- a/gradle/wrapper/gradle-wrapper.jar +++ b/gradle/wrapper/gradle-wrapper.jar | |||
| Binary files differ | |||
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4d9ca16..442d913 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | distributionBase=GRADLE_USER_HOME | 1 | distributionBase=GRADLE_USER_HOME |
| 2 | distributionPath=wrapper/dists | 2 | distributionPath=wrapper/dists |
| 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip | 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip |
| 4 | zipStoreBase=GRADLE_USER_HOME | 4 | zipStoreBase=GRADLE_USER_HOME |
| 5 | zipStorePath=wrapper/dists | 5 | zipStorePath=wrapper/dists |
| @@ -82,6 +82,7 @@ esac | |||
| 82 | 82 | ||
| 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar |
| 84 | 84 | ||
| 85 | |||
| 85 | # Determine the Java command to use to start the JVM. | 86 | # Determine the Java command to use to start the JVM. |
| 86 | if [ -n "$JAVA_HOME" ] ; then | 87 | if [ -n "$JAVA_HOME" ] ; then |
| 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then | 88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then |
| @@ -129,6 +130,7 @@ fi | |||
| 129 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then | 130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then |
| 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` | 131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` |
| 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` | 132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` |
| 133 | |||
| 132 | JAVACMD=`cygpath --unix "$JAVACMD"` | 134 | JAVACMD=`cygpath --unix "$JAVACMD"` |
| 133 | 135 | ||
| 134 | # We build the pattern for arguments to be converted via cygpath | 136 | # We build the pattern for arguments to be converted via cygpath |
diff --git a/gradlew.bat b/gradlew.bat index 62bd9b9..107acd3 100644 --- a/gradlew.bat +++ b/gradlew.bat | |||
| @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome | |||
| 40 | 40 | ||
| 41 | set JAVA_EXE=java.exe | 41 | set JAVA_EXE=java.exe |
| 42 | %JAVA_EXE% -version >NUL 2>&1 | 42 | %JAVA_EXE% -version >NUL 2>&1 |
| 43 | if "%ERRORLEVEL%" == "0" goto init | 43 | if "%ERRORLEVEL%" == "0" goto execute |
| 44 | 44 | ||
| 45 | echo. | 45 | echo. |
| 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. |
| @@ -54,7 +54,7 @@ goto fail | |||
| 54 | set JAVA_HOME=%JAVA_HOME:"=% | 54 | set JAVA_HOME=%JAVA_HOME:"=% |
| 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe | 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe |
| 56 | 56 | ||
| 57 | if exist "%JAVA_EXE%" goto init | 57 | if exist "%JAVA_EXE%" goto execute |
| 58 | 58 | ||
| 59 | echo. | 59 | echo. |
| 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% |
| @@ -64,28 +64,14 @@ echo location of your Java installation. | |||
| 64 | 64 | ||
| 65 | goto fail | 65 | goto fail |
| 66 | 66 | ||
| 67 | :init | ||
| 68 | @rem Get command-line arguments, handling Windows variants | ||
| 69 | |||
| 70 | if not "%OS%" == "Windows_NT" goto win9xME_args | ||
| 71 | |||
| 72 | :win9xME_args | ||
| 73 | @rem Slurp the command line arguments. | ||
| 74 | set CMD_LINE_ARGS= | ||
| 75 | set _SKIP=2 | ||
| 76 | |||
| 77 | :win9xME_args_slurp | ||
| 78 | if "x%~1" == "x" goto execute | ||
| 79 | |||
| 80 | set CMD_LINE_ARGS=%* | ||
| 81 | |||
| 82 | :execute | 67 | :execute |
| 83 | @rem Setup the command line | 68 | @rem Setup the command line |
| 84 | 69 | ||
| 85 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar |
| 86 | 71 | ||
| 72 | |||
| 87 | @rem Execute Gradle | 73 | @rem Execute Gradle |
| 88 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* |
| 89 | 75 | ||
| 90 | :end | 76 | :end |
| 91 | @rem End local scope for the variables with windows NT shell | 77 | @rem End local scope for the variables with windows NT shell |