Skip to content

Commit 8a4e482

Browse files
authored
Set Java Source/Target compatibility to 17 (#549)
1 parent 4aa4de4 commit 8a4e482

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

apps/MavenMetaDataFixer/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ plugins {
44
id "com.github.johnrengelman.shadow"
55
}
66

7+
java {
8+
sourceCompatibility = 17
9+
targetCompatibility = 17
10+
}
11+
712
mainClassName = 'Program'
813

914
repositories {

apps/ToolsUpdater/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ plugins {
44
id "com.github.johnrengelman.shadow"
55
}
66

7+
java {
8+
sourceCompatibility = 17
9+
targetCompatibility = 17
10+
}
11+
712
mainClassName = 'Program'
813

914
repositories {

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ plugins {
1515
id "com.github.johnrengelman.shadow" version "7.1.2" apply false
1616
}
1717

18+
java {
19+
sourceCompatibility = 17
20+
targetCompatibility = 17
21+
}
22+
23+
1824
apply from: "automation/macos_notarization.gradle"
1925
apply plugin: OfflineDependenciesPlugin
2026

0 commit comments

Comments
 (0)