update to kotlin 1.9.0
This commit is contained in:
parent
8fcf047e99
commit
7d661712f7
|
@ -4,9 +4,16 @@ plugins {
|
||||||
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
|
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvmToolchain 11
|
||||||
|
sourceSets.configureEach {
|
||||||
|
languageSettings.optIn("kotlin.RequiresOptIn")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk 34
|
compileSdk 34
|
||||||
buildToolsVersion '34.0.0'
|
buildToolsVersion = '34.0.0'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mosad.teapod"
|
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'
|
namespace 'org.mosad.teapod'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
buildscript {
|
buildscript {
|
||||||
ext.kotlin_version = "1.8.22"
|
ext.kotlin_version = "1.9.0"
|
||||||
ext.ktor_version = "2.3.6"
|
ext.ktor_version = "2.3.6"
|
||||||
ext.exo_version = "2.18.7"
|
ext.exo_version = "2.18.7"
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Loading…
Reference in New Issue