enforced Java 8 compatibility

This commit is contained in:
2022-01-15 19:45:44 +08:00
parent d14602d381
commit 3ea93838f2
8 changed files with 36 additions and 26 deletions

View File

@@ -5,9 +5,9 @@ plugins {
dependencies {
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
compileJava {
options.release = 8
options.compilerArgs << '-parameters'
}
["apiElements", "runtimeElements"].each { String name ->