update to kotlin 1.9.0

This commit is contained in:
Jannik 2023-11-15 15:50:13 +01:00
parent 8fcf047e99
commit 7d661712f7
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
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'
}

View File

@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.8.22"
ext.kotlin_version = "1.9.0"
ext.ktor_version = "2.3.6"
ext.exo_version = "2.18.7"
repositories {