File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'java-library'
22
33// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
44// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
5- compileJava {
5+ tasks . withType( JavaCompile ) {
66 options. release. set(8 )
77}
88
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apply plugin: "com.github.spotbugs"
33
44// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
55// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
6- compileJava {
6+ tasks . withType( JavaCompile ) {
77 options. release. set(8 )
88}
99
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ apply plugin: 'org.jetbrains.dokka'
77
88// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
99// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
10- compileJava {
10+ tasks . withType( JavaCompile ) {
1111 options. release. set(8 )
1212}
1313
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'java-library'
22
33// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
44// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
5- compileJava {
5+ tasks . withType( JavaCompile ) {
66 options. release. set(8 )
77}
88
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ apply plugin: 'org.jetbrains.dokka'
88
99// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
1010// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
11- compileJava {
11+ tasks . withType( JavaCompile ) {
1212 options. release. set(8 )
1313}
1414
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ uploadArchives.enabled = false
55
66// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
77// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
8- compileJava {
8+ tasks . withType( JavaCompile ) {
99 options. release. set(8 )
1010}
1111
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ uploadArchives.enabled = false
44
55// Note: use release flag instead of sourceCompatibility and targetCompatibility to ensure only JDK 8 API is used.
66// https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation
7- compileJava {
7+ tasks . withType( JavaCompile ) {
88 options. release. set(8 )
99}
1010
You can’t perform that action at this time.
0 commit comments