Czar
03/27/2019, 10:40 AMvar
, which is JDK10+ feature, while there is this in build.gradle.kts:
tasks.compileJava {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
How does this work? My IntelliJ is swearing at me 🙂christophsturm
03/27/2019, 10:47 AMCzar
03/27/2019, 10:51 AMchristophsturm
03/27/2019, 10:54 AMJavaVersion sourceCompatibility
Java version compatibility to use when compiling Java source. Default value: version of the current JVM in use JavaVersion.
Czar
03/27/2019, 11:01 AMCzar
03/27/2019, 11:09 AMchristophsturm
03/27/2019, 12:04 PMsdeleuze
03/27/2019, 2:44 PM