Lilly
04/17/2020, 2:57 PMcompileOptions {
sourceCompatibility = JavaVersion.VERSION_12
targetCompatibility = JavaVersion.VERSION_12
}
kotlinOptions {
jvmTarget = "12"
}
I get Unsupported class file version: 56.
AS: 4.1 C5
Gradle: 6.3
Kotlin: 1.3.72
JDK: 14.0.1
When I'm searching for "android java 12/13 support" I find sources that claim gradle/kotlin/IntelliJ is supporting both so did I miss something or is it just not supported yet?Matt Lang
04/17/2020, 3:06 PMjw
04/17/2020, 3:14 PMLilly
04/17/2020, 3:45 PMjw
04/17/2020, 3:45 PM-release
flag on javac when you set the version higher than 8, which is what breaks AndroidLilly
04/17/2020, 3:46 PMjw
04/17/2020, 3:47 PMLilly
04/17/2020, 3:50 PMcompileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
AS: 4.1 C5
Gradle: 6.3
Kotlin: 1.3.72
JDK: 14.0.1jw
04/17/2020, 4:15 PMLilly
04/17/2020, 5:09 PMjw
04/17/2020, 5:21 PMLilly
04/17/2020, 8:06 PMjw
04/17/2020, 11:53 PMLilly
04/18/2020, 4:06 PM