Skip to content

Commit

Permalink
Update to Kotlin 1.9.20
Browse files Browse the repository at this point in the history
  • Loading branch information
russhwolf authored and russell committed Nov 14, 2023
1 parent 4df8b17 commit ec5449c
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

plugins {
kotlin("jvm") version "1.9.10"
kotlin("jvm") version "1.9.20"
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Versions {
const val coroutines = "1.7.3"
const val junit = "4.13.2"
const val robolectric = "4.10.3"
const val serializationPlugin = "1.9.10"
const val serializationPlugin = "1.9.20"
const val serializationRuntime = "1.6.0"
const val turbine = "1.0.0"
}
2 changes: 1 addition & 1 deletion multiplatform-settings-no-arg/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ standardConfiguration(
"tvosArm64",
"tvosSimulatorArm64",
"tvosX64",
"wasm",
"wasmJs",
"watchosArm32",
"watchosArm64",
"watchosDeviceArm64",
Expand Down
2 changes: 1 addition & 1 deletion sample/app-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = "1.5.3"
kotlinCompilerExtensionVersion = "1.5.4"
}
}

Expand Down
4 changes: 4 additions & 0 deletions sample/app-desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ dependencies {
testImplementation(compose.desktop.uiTestJUnit4)
}

compose {
kotlinCompilerPlugin.set("1.5.2.1")
}

compose.desktop {
application {
mainClass = "com.russhwolf.settings.example.jvm.MainKt"
Expand Down
5 changes: 2 additions & 3 deletions sample/app-wasm-js/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

plugins {
kotlin("multiplatform")
id("org.jetbrains.compose") version "1.5.2"
}

kotlin {
@OptIn(ExperimentalWasmDsl::class)
wasm {
wasmJs {
browser {
runTask {
mainOutputFileName = "settings-demo.js"
Expand All @@ -33,7 +32,7 @@ kotlin {
}

sourceSets {
val wasmMain by getting {
val wasmJsMain by getting {
dependencies {
implementation(project(":shared"))
implementation("com.russhwolf:multiplatform-settings:${rootProject.ext["library_version"]}")
Expand Down
6 changes: 4 additions & 2 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/

plugins {
kotlin("multiplatform") version "1.9.10" apply false
kotlin("android") version "1.9.10" apply false
kotlin("multiplatform") version "1.9.20" apply false
kotlin("android") version "1.9.20" apply false
id("com.android.library") version "8.1.2" apply false
id("com.android.application") version "8.1.2" apply false
}
Expand All @@ -28,5 +28,7 @@ allprojects {
mavenLocal()
google()
mavenCentral()
maven(url = "https://androidx.dev/storage/compose-compiler/repository/")
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
2 changes: 1 addition & 1 deletion sample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ kotlin {
browser()
}
@OptIn(ExperimentalWasmDsl::class)
wasm {
wasmJs {
browser()
}

Expand Down

0 comments on commit ec5449c

Please sign in to comment.