There was an error while loading. Please reload this page.
1 parent ee08f53 commit 5d0a012Copy full SHA for 5d0a012
1 file changed
api/build.gradle
@@ -17,13 +17,11 @@ sourceSets {
17
}
18
19
tasks.named("compileContextJava").configure {
20
- if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_20)) {
21
- println("!!! Javac does not support generating Java 7 bytecode. Do not use for release builds !!!")
22
- } else if (JavaVersion.current().isJava9Compatible()) {
23
- options.release = 7
+ if (JavaVersion.current().isJava9Compatible()) {
+ options.release = 8
24
} else {
25
- sourceCompatibility = JavaVersion.VERSION_1_7
26
- targetCompatibility = JavaVersion.VERSION_1_7
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
27
28
29
0 commit comments