diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 2e71873..4dc3f47 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'adopt' - java-version: 11 + java-version: 21 - uses: gradle/actions/setup-gradle@v3 - name: Publish run: ./gradlew -Pversion=$version -Dorg.gradle.parallel=false --no-configuration-cache publish closeAndReleaseStagingRepository diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 868b69e..929e1b3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'adopt' - java-version: 11 + java-version: 21 - uses: gradle/actions/setup-gradle@v3 with: dependency-graph: generate-and-submit diff --git a/.github/workflows/Docs.yml b/.github/workflows/Docs.yml index 1574e48..7112fca 100644 --- a/.github/workflows/Docs.yml +++ b/.github/workflows/Docs.yml @@ -23,6 +23,10 @@ jobs: steps: - uses: actions/configure-pages@v4 - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'adopt' + java-version: 21 - uses: gradle/actions/setup-gradle@v3 - name: Generate Docs run: ./gradlew dokkaHtmlMultiModule diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1af9e09..a80b22c 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.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew.bat b/gradlew.bat index 6689b85..7101f8e 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