-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle.kts
70 lines (64 loc) · 1.9 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
// SPDX-License-Identifier: BSD-3-Clause
import org.islandoftex.arara.build.Versions
plugins {
kotlin("plugin.serialization")
}
kotlin {
jvm {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
/*wasm32()
js {
browser {
testTask {
enabled = false
}
}
}
linuxArm64()
linuxX64()
macosX64()
mingwX64()*/
sourceSets {
all {
languageSettings.apply {
optIn("org.islandoftex.arara.api.localization.AraraMessages")
optIn("kotlin.time.ExperimentalTime")
optIn("kotlin.ExperimentalUnsignedTypes")
}
dependencies {
api(project(":api"))
implementation("io.github.microutils:kotlin-logging:${Versions.kotlinLogging}")
}
}
val commonMain by getting {
dependencies {
implementation("com.soywiz.korlibs.korio:korio:${Versions.korlibs}")
implementation("net.mamoe.yamlkt:yamlkt:${Versions.yamlkt}")
}
}
/*val nativeCommonMain by creating {
dependsOn(commonMain)
}
val linuxX64Main by getting {
dependsOn(nativeCommonMain)
}*/
val jvmMain by getting {
dependencies {
implementation("org.zeroturnaround:zt-exec:${Versions.ztExec}")
implementation("com.soywiz.korlibs.korio:korio:${Versions.korlibs}")
}
}
val jvmTest by getting {
dependencies {
implementation("io.kotest:kotest-runner-junit5-jvm:${Versions.kotest}")
implementation("io.kotest:kotest-assertions-core-jvm:${Versions.kotest}")
runtimeOnly("org.slf4j:slf4j-simple:${Versions.slf4j}")
}
}
}
}