Skip to content

Commit

Permalink
Upgrade to Kotlin 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanDYDX committed Aug 30, 2024
1 parent 76f4183 commit bfbc133
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit bfbc133

Please sign in to comment.