Browse Source

JPMS: define Automatic-Module-Name as json.path (#966)

* define Automatic-Module-Name

* cannot build with Java 21 until Gradle is updated
pull/976/head
Samael 11 months ago committed by GitHub
parent
commit
2d57ab3615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/ci.yml
  2. 1
      json-path/build.gradle

9
.github/workflows/ci.yml

@ -10,17 +10,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17, 18]
java: [8, 11, 17, 18] # todo: update to latest Gradle version for Java 21 support
fail-fast: false
max-parallel: 4
name: JDK ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew

1
json-path/build.gradle

@ -4,6 +4,7 @@ description = "Java port of Stefan Goessner JsonPath."
jar {
baseName 'json-path'
bnd (
'Automatic-Module-Name': 'json.path',
'Implementation-Title': 'json-path', 'Implementation-Version': archiveVersion,
'Import-Package': 'org.json.*;resolution:=optional, com.google.gson.*;resolution:=optional, com.fasterxml.jackson.*;resolution:=optional, org.apache.tapestry5.json.*;resolution:=optional, org.codehaus.jettison.*;resolution:=optional, jakarta.json.*;resolution:=optional, *',
'Export-Package': 'com.jayway.jsonpath,com.jayway.jsonpath.spi,com.jayway.jsonpath.spi.cache,com.jayway.jsonpath.spi.json,com.jayway.jsonpath.spi.mapper'

Loading…
Cancel
Save