This repository was archived by the owner on May 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
tools/src/main/java/lostcity/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ dependencies {
99
1010java {
1111 sourceCompatibility = JavaVersion . VERSION_1_8
12+ targetCompatibility = JavaVersion . VERSION_1_8
1213}
1314
1415application {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ dependencies {
88
99java {
1010 sourceCompatibility = JavaVersion . VERSION_1_8
11+ targetCompatibility = JavaVersion . VERSION_1_8
1112}
1213
1314tasks. withType(JavaCompile ) {
Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments