Skip to content

Commit

Permalink
Update kotlin version + use version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
JSMonk committed Aug 6, 2024
1 parent a8fd4e0 commit a2c8e5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig

plugins {
kotlin("multiplatform") version "2.0.0"
alias(libs.plugins.kotlinMultiplatform)
}

group = "me.user"
Expand Down Expand Up @@ -29,7 +29,7 @@ kotlin {
val commonMain by getting
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
implementation(libs.kotlin.test)
}
}
val wasmJsMain by getting
Expand Down
8 changes: 8 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[versions]
kotlin = "2.0.10"

[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }

[plugins]
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }

0 comments on commit a2c8e5a

Please sign in to comment.