Skip to content

Commit ac4ce8b

Browse files
authored
Merge pull request zaproxy#120 from thc202/gradle/update-8.8
Update Gradle, add Java 22 to CI
2 parents 0506e34 + 2586b63 commit ac4ce8b

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
java: [11, 21]
14+
java: [11, 21, 22]
1515

1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-java@v4
1919
with:
2020
distribution: 'temurin'
2121
java-version: ${{ matrix.java }}
22-
- uses: gradle/wrapper-validation-action@v1
23-
- uses: gradle/gradle-build-action@v2
22+
- uses: gradle/actions/wrapper-validation@v3
23+
- uses: gradle/actions/setup-gradle@v3
2424
- run: ./gradlew assemble
2525
- run: ./gradlew check

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import net.ltgt.gradle.errorprone.errorprone
22

33
plugins {
44
id("com.diffplug.spotless")
5-
id("net.ltgt.errorprone") version "3.1.0"
5+
id("net.ltgt.errorprone") version "4.0.0"
66
id("org.zaproxy.common")
77
}
88

@@ -34,7 +34,7 @@ subprojects {
3434
}
3535

3636
dependencies {
37-
"errorprone"("com.google.errorprone:error_prone_core:2.20.0")
37+
"errorprone"("com.google.errorprone:error_prone_core:2.28.0")
3838
}
3939

4040
tasks.withType<JavaCompile> {

gradle/wrapper/gradle-wrapper.jar

-9 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=c16d517b50dd28b3f5838f0e844b7520b8f1eb610f2f29de7e4e04a1b7c9c79b
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
3+
distributionSha256Sum=f8b4f4772d302c8ff580bc40d0f56e715de69b163546944f787c87abf209c961
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.

gradlew.bat

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
2-
id("org.zaproxy.common.settings") version "0.2.0"
2+
id("org.zaproxy.common.settings") version "0.3.0"
33

4-
id("com.diffplug.spotless") version "6.20.0" apply false
4+
id("com.diffplug.spotless") version "6.25.0" apply false
55
}
66

77
include("zap-clientapi")

subprojects/zap-clientapi/zap-clientapi.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "maven-publish"
33
id "signing"
4-
id "me.champeau.gradle.japicmp" version "0.4.1"
4+
id "me.champeau.gradle.japicmp" version "0.4.3"
55
}
66

77
sourceSets { examples }

0 commit comments

Comments
 (0)