From f6121417ca56a5dbedee0f2f1a0039196c805fc5 Mon Sep 17 00:00:00 2001 From: rdk Date: Wed, 10 Apr 2024 00:59:36 +0200 Subject: [PATCH] bump gradlew to 8.7 --- .github/workflows/develop.yml | 2 +- README.md | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew.bat | 20 ++++++++++---------- misc/tutorials/development-notes.md | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 5e3367a4..f4ced309 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] - java-version: [ '11', '17', '20', '21' ] + java-version: [ '11', '17', '20', '21', '22' ] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 7caec878..9cd03828 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Version 2.4 adds support for `.cif` input and contains a special profile for pre ### Requirements -* Java 8 to 20 +* Java 11 to 22 * PyMOL 1.7 (or newer) for viewing visualizations (optional) P2Rank is tested on Linux, macOS, and Windows. diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a80b22ce..b82aa23a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew.bat b/gradlew.bat index 6689b85b..7101f8e4 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail diff --git a/misc/tutorials/development-notes.md b/misc/tutorials/development-notes.md index dca3b83a..d251a493 100644 --- a/misc/tutorials/development-notes.md +++ b/misc/tutorials/development-notes.md @@ -1,6 +1,6 @@ -## Upgrade gradle weapper +## Upgrade gradle wrapper ~~~sh ./gradlew wrapper --gradle-version latest