File tree Expand file tree Collapse file tree 4 files changed +301
-560
lines changed
src/commonMain/resources/static Expand file tree Collapse file tree 4 files changed +301
-560
lines changed Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.distsDirectory
1
2
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpack
2
3
3
- val kotlinVersion = " 1.8.21 "
4
- val serializationVersion = " 1.5.1 "
5
- val ktorVersion = " 2.3.0 "
4
+ val kotlinVersion = " 1.9.10 "
5
+ val serializationVersion = " 1.6.0 "
6
+ val ktorVersion = " 2.3.3 "
6
7
val logbackVersion = " 1.2.11"
7
- val kotlinWrappersVersion = " 1.0.0-pre.561 "
8
+ val kotlinWrappersVersion = " 1.0.0-pre.621 "
8
9
val kmongoVersion = " 4.5.0"
9
10
10
11
plugins {
11
- kotlin(" multiplatform" ) version " 1.8.21 "
12
+ kotlin(" multiplatform" ) version " 1.9.10 "
12
13
application // to run JVM part
13
- kotlin(" plugin.serialization" ) version " 1.8.21 "
14
+ kotlin(" plugin.serialization" ) version " 1.9.10 "
14
15
}
15
16
16
17
group = " org.example"
@@ -85,7 +86,9 @@ tasks.named<Jar>("jvmJar").configure {
85
86
" jsBrowserDevelopmentWebpack"
86
87
}
87
88
val webpackTask = tasks.named<KotlinWebpack >(taskName)
88
- from(webpackTask.map { File (it.destinationDirectory, it.outputFileName) }) // bring output file along into the JAR
89
+ dependsOn(webpackTask)
90
+ from(webpackTask.map { it.mainOutputFile.get().asFile }) // bring output file along into the JAR
91
+ into(" static" )
89
92
}
90
93
91
94
tasks {
Original file line number Diff line number Diff line change 1
1
kotlin.code.style =official
2
- kotlin.js.compiler =ir
2
+ kotlin.js.compiler =ir
3
+ kotlin.incremental =true
4
+ kotlin.incremental.js =true
5
+ kotlin.incremental.js.ir =true
6
+ kotlin.incremental.js.klib =true
You can’t perform that action at this time.
0 commit comments