dave08
02/18/2021, 3:12 PMmbonnin
02/18/2021, 3:15 PMmbonnin
02/18/2021, 3:15 PMAlexey Belkov [JB]
02/18/2021, 3:29 PM~/.gradle
, remove .idea project directory and reimport the project.dave08
02/18/2021, 4:03 PMdave08
02/18/2021, 4:09 PMtasks {
withType<KotlinCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_11.toString()
targetCompatibility = JavaVersion.VERSION_11.toString()
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
useIR = true
}
}
}
dave08
02/21/2021, 12:32 PMdave08
02/21/2021, 12:58 PM.idea/
folder, only then it gave me the option to re-import the projectdave08
02/21/2021, 1:15 PM.idea/
folder and re-importing... that's why it works. But it seems I can't change it to java 11.dave08
02/21/2021, 1:34 PM