diff --git a/build.gradle.kts b/build.gradle.kts index cf72fdac5..a883745b3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,19 +7,19 @@ buildscript { mavenCentral() } dependencies { - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20") } } plugins { - kotlin("multiplatform") version "1.9.24" - kotlin("native.cocoapods") version "1.9.24" - kotlin("plugin.serialization") version "1.9.24" + kotlin("multiplatform") version "2.0.20" + kotlin("native.cocoapods") version "2.0.20" + kotlin("plugin.serialization") version "2.0.20" id("maven-publish") id("dev.petuska.npm.publish") version "3.4.2" id("com.diffplug.spotless") version "6.25.0" id("io.gitlab.arturbosch.detekt") version("1.23.3") - id("com.google.devtools.ksp") version "1.9.24-1.0.20" // needs to be in-sync with Kotlin version. Version before the dash is the compatible Kotlin version. + id("com.google.devtools.ksp") version "2.0.20-1.0.24" // needs to be in-sync with Kotlin version. Version before the dash is the compatible Kotlin version. } allprojects { @@ -118,7 +118,7 @@ kotlin { implementation("io.ktor:ktor-http:$ktorVersion") implementation("com.ionspin.kotlin:bignum:0.3.8") implementation("tz.co.asoft:kollections-interoperable:2.0.16") - implementation("me.tatarka.inject:kotlin-inject-runtime:0.6.3") + implementation("me.tatarka.inject:kotlin-inject-runtime:0.7.1") } } val commonTest by getting { @@ -146,10 +146,10 @@ kotlin { // KSP will eventually have better multiplatform support and we'll be able to simply have // `ksp libs.kotlinInject.compiler` in the dependencies block of each source set // https://github.com/google/ksp/pull/1021 - add("kspJvm", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.6.3") - add("kspJs", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.6.3") - add("kspIosArm64", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.6.3") - add("kspIosSimulatorArm64", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.6.3") + add("kspJvm", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.7.1") + add("kspJs", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.7.1") + add("kspIosArm64", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.7.1") + add("kspIosSimulatorArm64", "me.tatarka.inject:kotlin-inject-compiler-ksp:0.7.1") } tasks.wrapper {