Skip to content

Commit

Permalink
[code] updated kotlin to 2, switched to npm and build js as library (#38
Browse files Browse the repository at this point in the history
)
  • Loading branch information
fab1an authored May 24, 2024
1 parent 65bcd4f commit cb0746f
Show file tree
Hide file tree
Showing 5 changed files with 956 additions and 556 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ secring.gpg
local.properties
TODO.txt
/.cifuzz-corpus
/.kotlin
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.dokka.gradle.DokkaTask

plugins {
id 'org.jetbrains.kotlin.multiplatform' version "1.9.24"
id 'org.jetbrains.kotlin.multiplatform' version "2.0.0"
id("convention.publication")
id "org.jetbrains.dokka" version "1.9.20"
}
Expand All @@ -23,7 +23,6 @@ kotlin {
linuxX64()
linuxArm64()
jvm {
jvmToolchain(21)
withJava()
testRuns.named("test") {
executionTask.configure {
Expand All @@ -33,6 +32,11 @@ kotlin {
}
js(IR) {
nodejs()
binaries.library()
}

compilerOptions {
jvmToolchain(21)
}

applyDefaultHierarchyTemplate()
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
org.gradle.caching=true
org.gradle.parallel=true
kotlin.js.yarn = false
Loading

0 comments on commit cb0746f

Please sign in to comment.