Skip to content

Commit 4e27ce4

Browse files
committed
chore(build): use kt-mpp 4, and kt 1.9.22
1 parent 5b89adc commit 4e27ce4

3 files changed

Lines changed: 4 additions & 16 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import io.github.gciatto.kt.mpp.log
2-
import io.github.gciatto.kt.mpp.nodeVersion
1+
import io.github.gciatto.kt.mpp.utils.log
32

43
@Suppress("DSL_SCOPE_VIOLATION")
54
plugins {
@@ -27,11 +26,6 @@ repositories {
2726
}
2827

2928
kotlin {
30-
js {
31-
nodejs {
32-
binaries.library()
33-
}
34-
}
3529
sourceSets {
3630
commonMain {
3731
dependencies {
@@ -40,8 +34,3 @@ kotlin {
4034
}
4135
}
4236
}
43-
44-
project.findProperty("nodeVersion")?.let { it.toString() }?.takeIf { it.isNotBlank() }?.let {
45-
nodeVersion(it)
46-
log("override NodeJS version: $it", LogLevel.LIFECYCLE)
47-
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ org.gradle.console=plain
77
systemProp.org.gradle.internal.http.connectionTimeout=180000
88
systemProp.org.gradle.internal.http.socketTimeout=180000
99
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=2g
10-
ktCompilerArgs=-opt-in=kotlin.js.ExperimentalJsExport;-opt-in=kotlin.time.ExperimentalTime
10+
ktCompilerArgs=-opt-in=kotlin.js.ExperimentalJsExport;-opt-in=kotlin.time.ExperimentalTime;-Xexpect-actual-classes
1111
ktCompilerArgsJvm=-Xjvm-default=all
1212
ktCompilerArgsJs=
1313
ktTargetJvmDisable=false

gradle/libs.versions.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[versions]
2-
kotlin = "1.8.22"
2+
kotlin = "1.9.22"
33
jvm = "1.8"
44
node = "16-latest"
5-
ktMpp = "2.2.1"
5+
ktMpp = "4.0.1"
66

77
[libraries]
88
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
@@ -19,4 +19,3 @@ ktMpp-jsOnly = { id = "io.github.gciatto.kt-mpp.js-only", version.ref = "ktMpp"
1919
ktMpp-jvmOnly = { id = "io.github.gciatto.kt-mpp.jvm-only", version.ref = "ktMpp" }
2020
ktMpp-multiplatform = { id = "io.github.gciatto.kt-mpp.multiplatform", version.ref = "ktMpp" }
2121
ktMpp-multiProjectHelper = { id = "io.github.gciatto.kt-mpp.multi-project-helper", version.ref = "ktMpp" }
22-
nexusPublish = "de.marcphilipp.nexus-publish:0.4.0"

0 commit comments

Comments
 (0)