Skip to content

Commit 14ab482

Browse files
committed
Update Gradle to 7.6 and use v3 GitHub Actions
1 parent 21de620 commit 14ab482

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
java: [8, 11, 17, 18]
13+
java: [8, 11, 17, 19]
1414
fail-fast: false
1515
max-parallel: 4
1616
name: JDK ${{ matrix.java }}
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
- name: Set up JDK
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v3
2222
with:
23+
distribution: zulu
2324
java-version: ${{ matrix.java }}
25+
cache: gradle
26+
2427
- name: Grant execute permission for gradlew
2528
run: chmod +x gradlew
2629

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ ext {
2727
test: [
2828
'commons-io:commons-io:2.11.0',
2929
'junit:junit:4.13.+',
30-
'org.junit.vintage:junit-vintage-engine:5.8.+',
30+
'org.junit.vintage:junit-vintage-engine:5.9.+',
3131
'org.assertj:assertj-core:3.22.0',
3232
'org.hamcrest:hamcrest:2.2',
3333
'org.glassfish:jakarta.json:2.0.1',
3434
'org.eclipse:yasson:2.0.4',
3535
//'org.apache.johnzon:johnzon-jsonb:1.2.12',
3636
'org.slf4j:slf4j-simple:1.7.36',
37+
'org.apache.logging.log4j:log4j-slf4j-impl:2.19.+',
38+
'org.apache.logging.log4j:log4j-jul:2.19.+',
3739
'com.google.code.gson:gson:2.10.1',
3840
'org.hamcrest:hamcrest:2.2',
3941
'com.fasterxml.jackson.core:jackson-databind:2.14.2',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

json-path-assert/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ dependencies {
1616
testImplementation libs.jsonSmart
1717
testImplementation libs.test
1818
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
19+
testRuntimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl'
20+
testRuntimeOnly 'org.apache.logging.log4j:log4j-jul'
1921
}

json-path/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ dependencies {
2323

2424
testImplementation libs.test
2525
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
26+
testRuntimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl'
27+
testRuntimeOnly 'org.apache.logging.log4j:log4j-jul'
2628
}

0 commit comments

Comments
 (0)