Skip to content

Commit 130291b

Browse files
author
Stefan Kapferer
committed
Java 17 update
1 parent a12e3e3 commit 130291b

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/build_master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 0
18-
- name: Set up JDK 11
18+
- name: Set up JDK 17
1919
uses: actions/setup-java@v1
2020
with:
21-
java-version: 11
21+
java-version: 17
2222
- name: Install Graphviz
2323
run: sudo apt-get -y install graphviz
2424
- name: Gradle caches

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
fetch-depth: 0
16-
- name: Set up JDK 11
16+
- name: Set up JDK 17
1717
uses: actions/setup-java@v1
1818
with:
19-
java-version: 11
19+
java-version: 17
2020
- name: Install Graphviz
2121
run: sudo apt-get -y install graphviz
2222
- name: Gradle caches

.java-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.0
1+
17.0

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ plugins {
99

1010
group 'org.contextmapper'
1111

12-
sourceCompatibility = '1.8'
13-
targetCompatibility = '1.8'
12+
sourceCompatibility = '11'
13+
targetCompatibility = '11'
1414

1515
repositories {
1616
mavenCentral()
@@ -143,7 +143,7 @@ publishing {
143143
}
144144

145145
signing {
146-
sign publishing.publications.mavenJava
146+
sign(publishing.publications)
147147
}
148148

149149
tasks.withType(GenerateModuleMetadata) {

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ ossSnapshotRepository=https://oss.sonatype.org/content/repositories/snapshots/
33
ossReleaseStagingRepository=https://oss.sonatype.org/service/local/staging/deploy/maven2/
44

55
# dependency versions
6-
jUnitVersion=5.7.0
6+
jUnitVersion=5.9.1
77
assertJVersion=3.19.0
88
mockitoVersion=3.9.0
99

1010
commonsCliVersion=1.4
11-
cmlVersion=6.6.1
11+
cmlVersion=6.7.0
1212

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-6.6.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/org/contextmapper/cli/ContextMapperCLI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
public class ContextMapperCLI {
2727

28-
private static final List<String> REQUIRED_JAVA_VERSIONS = Collections.unmodifiableList(Arrays.asList("1.8", "11"));
28+
private static final List<String> REQUIRED_JAVA_VERSIONS = Collections.unmodifiableList(Arrays.asList("11", "17"));
2929
private static final String VALIDATE_COMMAND = "validate";
3030
private static final String GENERATE_COMMAND = "generate";
3131

0 commit comments

Comments
 (0)