Skip to content

Commit

Permalink
Update to Kotlin 2.1.0 and Adjustments for WasmJS API Changes (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNoles authored Jan 6, 2025
1 parent bb03909 commit 1ca2763
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 26 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("multiplatform") version "2.0.21" apply false
kotlin("multiplatform") version "2.1.0" apply false
id("org.jetbrains.kotlinx.kover") version "0.9.0" apply false
}

Expand Down
8 changes: 1 addition & 7 deletions fuel-kotlinx-serialization/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

plugins {
kotlin("multiplatform")
kotlin("plugin.serialization") version "2.0.21"
kotlin("plugin.serialization") version "2.1.0"
id("publication")
id("org.jetbrains.kotlinx.kover")
}
Expand All @@ -19,11 +18,6 @@ kotlin {
useJUnit()
}
}
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
binaries.executable()
}
iosArm64 {
binaries {
framework {
Expand Down
2 changes: 1 addition & 1 deletion fuel-moshi-jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
kotlin("jvm")
id("publication")
id("org.jetbrains.kotlinx.kover")
id("com.google.devtools.ksp") version "2.0.21-1.0.28"
id("com.google.devtools.ksp") version "2.1.0-1.0.29"
}

kotlin {
Expand Down
14 changes: 0 additions & 14 deletions fuel/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

plugins {
kotlin("multiplatform")
Expand All @@ -18,11 +17,6 @@ kotlin {
useJUnit()
}
}
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
binaries.executable()
}
iosArm64 {
binaries {
framework {
Expand Down Expand Up @@ -66,14 +60,6 @@ kotlin {
freeCompilerArgs.add("-Xexpect-actual-classes")
}

/*targets.configureEach {
compilations.configureEach {
compilerOptions.configure {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}
}*/

sourceSets {
commonMain {
dependencies {
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
coroutines = "1.9.0"
jackson = "2.18.2"
coroutines = "1.10.1"
jackson = "2.17.2"
junit = "4.13.2"
moshi = "1.15.2"
okhttp = "5.0.0-alpha.14"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include(":fuel-jackson-jvm")
include(":fuel-kotlinx-serialization")
include(":fuel-moshi-jvm")

include(":samples:httpbin-wasm")
// include(":samples:httpbin-wasm")
include(":samples:mockbin-native")

pluginManagement {
Expand Down

0 comments on commit 1ca2763

Please sign in to comment.