Skip to content

Commit

Permalink
Bump kotlin version to 1.9.20
Browse files Browse the repository at this point in the history
  • Loading branch information
mr3y-the-programmer committed Nov 7, 2023
1 parent 0257dcd commit d6ad71e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 44 deletions.
2 changes: 1 addition & 1 deletion desktopApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kotlin {
withJava()
}
sourceSets {
val jvmMain by getting {
jvmMain {
dependencies {
implementation(compose.desktop.currentOs)
implementation(compose.desktop.common)
Expand Down
44 changes: 7 additions & 37 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,41 +77,12 @@ android-library = "com.android.library:8.1.2"
## ⬆ :8.3.0-alpha10"
## ⬆ :8.3.0-alpha11"
## ⬆ :8.3.0-alpha12"
kotlin-android = "org.jetbrains.kotlin.android:1.9.10"
## ⬆ :1.9.20-Beta"
## ⬆ :1.9.20-Beta2"
## ⬆ :1.9.20-RC"
## ⬆ :1.9.20-RC2"
## ⬆ :1.9.20"
kotlin-jvm = "org.jetbrains.kotlin.jvm:1.9.10"
## ⬆ :1.9.20-Beta"
## ⬆ :1.9.20-Beta2"
## ⬆ :1.9.20-RC"
## ⬆ :1.9.20-RC2"
## ⬆ :1.9.20"
kotlin-multiplatform = "org.jetbrains.kotlin.multiplatform:1.9.10"
## ⬆ :1.9.20-Beta"
## ⬆ :1.9.20-Beta2"
## ⬆ :1.9.20-RC"
## ⬆ :1.9.20-RC2"
## ⬆ :1.9.20"
compose-multiplatform = "org.jetbrains.compose:1.5.10-beta02"
## ⬆ :1.5.10-rc01"
## ⬆ :1.5.10-rc02"
## ⬆ :1.5.10"
kotlin-ksp = "com.google.devtools.ksp:1.9.10-1.0.13"
## ⬆ :1.9.20-Beta-1.0.13"
## ⬆ :1.9.20-Beta2-1.0.13"
## ⬆ :1.9.20-RC-1.0.13"
## ⬆ :1.9.20-RC2-1.0.13"
## ⬆ :1.9.20-1.0.13"
## ⬆ :1.9.20-1.0.14"
kotlinx-serialization = "org.jetbrains.kotlin.plugin.serialization:1.9.10"
## ⬆ :1.9.20-Beta"
## ⬆ :1.9.20-Beta2"
## ⬆ :1.9.20-RC"
## ⬆ :1.9.20-RC2"
## ⬆ :1.9.20"
kotlin-android = "org.jetbrains.kotlin.android:1.9.20"
kotlin-jvm = "org.jetbrains.kotlin.jvm:1.9.20"
kotlin-multiplatform = "org.jetbrains.kotlin.multiplatform:1.9.20"
compose-multiplatform = "org.jetbrains.compose:1.5.10"
kotlin-ksp = "com.google.devtools.ksp:1.9.20-1.0.14"
kotlinx-serialization = "org.jetbrains.kotlin.plugin.serialization:1.9.20"
wire = "com.squareup.wire:4.9.1"
ktlint-plugin = "org.jlleitschuh.gradle.ktlint:11.6.1"
spotless-plugin = "com.diffplug.spotless:6.22.0"
Expand Down Expand Up @@ -201,8 +172,7 @@ voyager-navigator = "cafe.adriel.voyager:voyager-navigator:1.0.0-rc08"
## ⬆ :1.0.0-rc09"
voyager-transitions = "cafe.adriel.voyager:voyager-transitions:1.0.0-rc08"
## ⬆ :1.0.0-rc09"
molecule = "app.cash.molecule:molecule-runtime:1.2.1"
## ⬆ :1.3.0"
molecule = "app.cash.molecule:molecule-runtime:1.3.0"
androidx-test-core = "androidx.test:core:1.5.0"
## ⬆ :1.6.0-alpha01"
## ⬆ :1.6.0-alpha02"
Expand Down
10 changes: 5 additions & 5 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kotlin {
}

@OptIn(ExperimentalKotlinGradlePluginApi::class)
targetHierarchy.custom {
applyHierarchyTemplate {
common {
// A shared sourceSet for (Jvm + Android) common implementations/dependencies such as Okhttp
group("desktopAndroid") {
Expand All @@ -43,7 +43,7 @@ kotlin {

sourceSets {
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
val commonMain by getting {
commonMain {
dependencies {
// Logging
implementation(libs.kermit)
Expand Down Expand Up @@ -102,7 +102,7 @@ kotlin {
implementation(libs.lyricist.processor)
}
}
val commonTest by getting {
commonTest {
dependencies {
implementation(libs.junit)
implementation(libs.strikt)
Expand All @@ -120,7 +120,7 @@ kotlin {
}
}

val androidMain by getting {
androidMain {
dependencies {
// Database driver
implementation(libs.sqldelight.android)
Expand Down Expand Up @@ -161,7 +161,7 @@ kotlin {

val desktopTest by getting {
dependencies {
dependsOn(commonTest)
dependsOn(commonTest.get())
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

version.androidx.compose.compiler=1.5.3
version.androidx.compose.compiler=1.5.4

0 comments on commit d6ad71e

Please sign in to comment.