robstoll
04/18/2021, 9:37 AMsourceCompatibility = 8
targetCompatibility = 8
if you use jvm { withJava() }
?christophsturm
04/18/2021, 5:43 PMconfigure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
Tomasz Krakowiak
04/19/2021, 10:26 AMjvm {
compilations.all {
kotlinOptions.jvmTarget = "1.8"
It corresponds to targetCompatibility
. I don't think sourceCompatibility
has any meaning with respect to kotlin source (assuming you don't write native Java).robstoll
04/19/2021, 12:39 PM