-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
79 lines (64 loc) · 1.41 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.vanniktech.maven.publish)
}
kotlin {
androidNativeArm32()
androidNativeArm64()
androidNativeX86()
androidNativeX64()
iosArm64()
iosX64()
iosSimulatorArm64()
js {
browser()
nodejs()
}
jvm {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
}
}
linuxArm64()
linuxX64()
macosX64()
macosArm64()
mingwX64()
tvosArm64()
tvosX64()
tvosSimulatorArm64()
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
nodejs()
}
@OptIn(ExperimentalWasmDsl::class)
wasmWasi {
nodejs()
}
watchosArm32()
watchosArm64()
watchosDeviceArm64()
watchosX64()
watchosSimulatorArm64()
sourceSets {
commonMain {
dependencies {
api(project(":kotlin-codepoints"))
}
}
commonTest {
dependencies {
implementation(kotlin("test"))
}
}
}
}
mavenPublishing {
pom {
name.set("kotlin-codepoint-deluxe")
description.set("Kotlin Multiplatform (KMP) library that adds a nicer API than kotlin-codepoint for dealing with Unicode code points.")
}
}