File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ sourceSets {
1717}
1818
1919tasks. 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 !!!" )
20+ if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_26 )) {
21+ println (" !!! Javac does not support generating Java 8 bytecode. Do not use for release builds !!!" )
2222 } else if (JavaVersion . current(). isJava9Compatible()) {
23- options. release = 7
23+ options. release = 8
2424 } else {
25- sourceCompatibility = JavaVersion . VERSION_1_7
26- targetCompatibility = JavaVersion . VERSION_1_7
25+ sourceCompatibility = JavaVersion . VERSION_1_8
26+ targetCompatibility = JavaVersion . VERSION_1_8
2727 }
2828}
2929
You can’t perform that action at this time.
0 commit comments