forked from terrakok/Compose-Multiplatform-Wizard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
47 lines (42 loc) · 1.32 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
plugins {
kotlin("multiplatform").version("1.8.10")
}
repositories {
mavenCentral()
}
kotlin {
jvm()
js(IR) {
browser {
testTask {
enabled = false
}
}
binaries.executable()
}
sourceSets {
val jsMain by getting {
dependencies {
implementation("org.jetbrains.kotlin-wrappers:kotlin-react:18.2.0-pre.518")
implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom:18.2.0-pre.518")
implementation("org.jetbrains.kotlin-wrappers:kotlin-emotion:11.10.6-pre.518")
implementation("org.jetbrains.kotlin-wrappers:kotlin-mui:5.9.1-pre.518")
implementation("org.jetbrains.kotlin-wrappers:kotlin-mui-icons:5.10.9-pre.518")
implementation(npm("file-saver", "2.0.5"))
implementation(npm("jszip", "3.10.1"))
implementation(npm("stream", "0.0.2"))
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
}
}
task<Copy>("fixMissingJvmResources") {
dependsOn("jvmProcessResources")
tasks.findByPath("jvmTest")?.dependsOn(this)
from("$buildDir/processedResources/jvm/main")
into("$buildDir/resources/")
}