Skip to content

Commit

Permalink
[#11] Update kotlin to v2 (major) (#139)
Browse files Browse the repository at this point in the history
* [#11] Update kotlin to v2

Co-authored-by: Mustafa Ozhan <[email protected]>

* [#11] Update kotlin to v2

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Ozhan <[email protected]>
  • Loading branch information
renovate[bot] and mustafaozhan authored May 31, 2024
1 parent 98770af commit c1cba68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions android/android.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
alias(androidApplication)
alias(kotlinAndroid)
alias(jetbrainsCompose)
alias(kotlinPluginCompose)
}
}

Expand All @@ -27,9 +28,6 @@ android {
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
}
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions client/client.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
alias(kotlinMultiplatform)
alias(jetbrainsCompose)
alias(androidLibrary)
alias(kotlinPluginCompose)
}
}

Expand Down
5 changes: 2 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
[versions]
kotlin = "1.9.24"
kotlin = "2.0.0"
detekt = "1.23.6"
kover = "0.6.1"
jetbrainsCompose = "1.6.10"
composeCompiler = "1.5.14"
androidGradlePlugin = "8.4.1"
activityCompose = "1.9.0"

[libraries]
# COMMON
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
common-ComposeCompiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" } # Workaround for compose compiler update
common-detektFormatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }

# ANDROID
android-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }

[plugins]
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "jetbrainsCompose" }
kotlinPluginCompose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
androidApplication = { id = "com.android.application", version.ref = "androidGradlePlugin" }
androidLibrary = { id = "com.android.library", version.ref = "androidGradlePlugin" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
Expand Down

0 comments on commit c1cba68

Please sign in to comment.