Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to gradle 8.5 and add java 21 build #995

Merged
merged 4 commits into from Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17, 18] # todo: update to latest Gradle version for Java 21 support
java: [ 8, 11, 17, 18, 21 ]
fail-fast: false
max-parallel: 4
name: JDK ${{ matrix.java }}
Expand Down
11 changes: 4 additions & 7 deletions build.gradle
Expand Up @@ -6,7 +6,6 @@ buildscript {
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:6.1.0'
}
}
Expand Down Expand Up @@ -114,10 +113,11 @@ subprojects {
mavenJava(MavenPublication) {
from components.java

artifactId = jar.baseName
artifactId = project.name
//artifactId = jar.archiveBaseName

pom {
name = jar.baseName
name = project.name
description = 'A library to query and verify JSON'
url = 'https://github.com/jayway/JsonPath'

Expand Down Expand Up @@ -149,9 +149,6 @@ subprojects {
}

wrapper {
gradleVersion = '7.4.2'
gradleVersion = '8.5'
}

//Task used by Heroku for staging
task stage(dependsOn: [':json-path-web-test:clean', 'json-path-web-test:jar', 'json-path-web-test:shadowJar']) {}

138 changes: 0 additions & 138 deletions gradle/binaryCompatibility.gradle

This file was deleted.

153 changes: 0 additions & 153 deletions gradle/binarycompat-report.groovy

This file was deleted.

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
1 change: 0 additions & 1 deletion json-path-assert/build.gradle
@@ -1,7 +1,6 @@
description = "Assertions on Json using JsonPath"

jar {
baseName 'json-path-assert'
bnd(
'Implementation-Title': 'json-path-assert', 'Implementation-Version': archiveVersion
)
Expand Down
1 change: 0 additions & 1 deletion json-path/build.gradle
@@ -1,7 +1,6 @@
description = "Java port of Stefan Goessner JsonPath."

jar {
baseName 'json-path'
bnd(
'Automatic-Module-Name': 'json.path',
'Implementation-Title': 'json-path', 'Implementation-Version': archiveVersion,
Expand Down