Skip to content

Commit 3b757b5

Browse files
Merge pull request #13 from cicsdev/piw-gradle-update
Java 21 build support
2 parents 8fb42b6 + 6ae5449 commit 3b757b5

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

.github/workflows/java.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ jobs:
1616
continue-on-error: ${{ matrix.experimental }}
1717
strategy:
1818
matrix:
19-
jdk: [8, 11]
20-
experimental: [false]
21-
include:
22-
- jdk: 17
23-
experimental: true
19+
jdk: [8, 11, 17, 21]
20+
2421
steps:
2522
- uses: actions/checkout@v3
2623
- name: Set up JDK ${{ matrix.jdk }}
@@ -31,11 +28,6 @@ jobs:
3128
cache: maven
3229
- name: Build with Maven
3330
run: mvn --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
34-
- run: mkdir staging && cp target/*.war staging
35-
- uses: actions/upload-artifact@v4
36-
with:
37-
name: cics-java-liberty-sprintboot-jcics (Maven, Java ${{ matrix.jdk }})
38-
path: staging
3931

4032
build-mvnw:
4133
name: Build Maven Wrapper

build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ repositories
2828
mavenCentral()
2929
}
3030

31-
java
32-
{
33-
toolchain
34-
{
35-
languageVersion = JavaLanguageVersion.of(java_version)
36-
vendor = JvmVendorSpec.IBM
37-
implementation = JvmImplementation.J9
38-
}
39-
}
4031

4132
dependencies
4233
{
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.5-rc-1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-rc-1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)