Skip to content

Commit

Permalink
Update to Java 17
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Bennetts <[email protected]>
  • Loading branch information
psiinon committed Dec 5, 2024
1 parent d11b7cb commit de01698
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 21, 22]
java: [17, 21, 22]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-build-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Build Translations
env:
CROWDIN_AUTH_TOKEN: ${{ secrets.ZAPBOT_CROWDIN_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-download-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Download Translations
env:
CROWDIN_AUTH_TOKEN: ${{ secrets.ZAPBOT_CROWDIN_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Handle Release
run: cd zap-admin && ./gradlew handleRelease
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-add-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Process Client Payload
run: |
echo "ADD_ON_DATA<<'EOF'" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-daily-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Update Daily Release
run: ./gradlew updateDailyRelease --url="${{ github.event.client_payload.url }}" --checksum="${{ github.event.client_payload.checksum }}"
- name: Create Pull Request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-main-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Create News Main Release
run: ./gradlew createNewsMainRelease --release="${{ github.event.client_payload.version }}"
- name: Update Main Release
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ dependencies {
"errorprone"("com.google.errorprone:error_prone_core:2.20.0")

implementation("org.apache.commons:commons-text:1.10.0")
implementation("org.kohsuke:github-api:1.101")
implementation("org.kohsuke:github-api:1.326")
compileOnly("com.infradna.tool:bridge-method-annotation:1.18") {
exclude(group = "org.jenkins-ci")
}
compileOnly("com.github.spotbugs:spotbugs-annotations:3.1.12")
implementation("net.sf.json-lib:json-lib:2.4:jdk15")
implementation("org.zaproxy:zap:2.12.0")
implementation("org.zaproxy:zap:2.15.0")

testImplementation("org.junit.jupiter:junit-jupiter:5.9.3")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
Expand Down
10 changes: 5 additions & 5 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ tasks.withType<JavaCompile>().configureEach {

dependencies {
implementation("commons-configuration:commons-configuration:1.10")
implementation("commons-codec:commons-codec:1.11")
implementation("commons-codec:commons-codec:1.17.1")

val flexmarkVersion = "0.50.48"
val flexmarkVersion = "0.64.8"
implementation("com.vladsch.flexmark:flexmark-java:$flexmarkVersion")
implementation("com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:$flexmarkVersion")
implementation("com.vladsch.flexmark:flexmark-ext-gfm-tasklist:$flexmarkVersion")
Expand All @@ -30,16 +30,16 @@ dependencies {
implementation("com.vladsch.flexmark:flexmark-profile-pegdown:$flexmarkVersion")

implementation("org.apache.commons:commons-lang3:3.12.0")
val jgitVersion = "5.12.0.202106070339-r"
val jgitVersion = "7.1.0.202411261347-r"
implementation("org.eclipse.jgit:org.eclipse.jgit:$jgitVersion")
implementation("org.eclipse.jgit:org.eclipse.jgit.archive:$jgitVersion")
implementation("org.kohsuke:github-api:1.106")
implementation("org.kohsuke:github-api:1.326")
// Include annotations used by the above library to avoid compiler warnings.
compileOnly("com.google.code.findbugs:findbugs-annotations:3.0.1")
compileOnly("com.infradna.tool:bridge-method-annotation:1.18") {
exclude(group = "org.jenkins-ci")
}
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.18.2")
implementation("org.snakeyaml:snakeyaml-engine:2.6")
implementation("org.zaproxy:zap:2.15.0")
}
Expand Down

0 comments on commit de01698

Please sign in to comment.