update to kotlin 1.9.0

This commit is contained in:
2023-11-15 15:50:13 +01:00
parent 8fcf047e99
commit 7d661712f7
2 changed files with 9 additions and 12 deletions

View File

@ -4,9 +4,16 @@ plugins {
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
}
kotlin {
jvmToolchain 11
sourceSets.configureEach {
languageSettings.optIn("kotlin.RequiresOptIn")
}
}
android {
compileSdk 34
buildToolsVersion '34.0.0'
buildToolsVersion = '34.0.0'
defaultConfig {
applicationId "org.mosad.teapod"
@ -32,16 +39,6 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
kotlin.sourceSets.configureEach {
languageSettings.optIn("kotlin.RequiresOptIn")
}
}
namespace 'org.mosad.teapod'
}