Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 3c21655

Browse files
committed
ci: Testing JDK 1.1 options
1 parent f9d40af commit 3c21655

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

client/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies {
99

1010
java {
1111
sourceCompatibility = JavaVersion.VERSION_1_8
12+
targetCompatibility = JavaVersion.VERSION_1_8
1213
}
1314

1415
application {

loader/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dependencies {
88

99
java {
1010
sourceCompatibility = JavaVersion.VERSION_1_8
11+
targetCompatibility = JavaVersion.VERSION_1_8
1112
}
1213

1314
tasks.withType(JavaCompile) {

tools/src/main/java/lostcity/tools/RemoveAnnotations.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public static void main(String[] args) {
3838
String contents = FileUtils.readFileToString(file);
3939
contents = contents.replaceAll("compileOnly project\\(':deob-annotations'\\)", "");
4040
contents = contents.replaceAll("sourceCompatibility = JavaVersion\\.VERSION_1_8", "sourceCompatibility = JavaVersion.VERSION_1_2");
41+
contents = contents.replaceAll("targetCompatibility = JavaVersion\\.VERSION_1_8", "targetCompatibility = JavaVersion.VERSION_1_1");
4142
FileUtils.writeStringToFile(file, contents);
4243
} catch (IOException ex) {
4344
ex.printStackTrace();

0 commit comments

Comments
 (0)