compile with -release 8
This commit is contained in:
@@ -30,9 +30,9 @@ dependencies {
|
|||||||
testRuntimeOnly group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: getProperty('version.log4j2')
|
testRuntimeOnly group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: getProperty('version.log4j2')
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
compileJava {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
options.release = 8
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
options.compilerArgs << '-parameters'
|
||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
|
Reference in New Issue
Block a user