-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle.kts
35 lines (30 loc) · 1.07 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
// SPDX-License-Identifier: BSD-3-Clause
import org.islandoftex.arara.build.Versions
kotlin {
sourceSets {
all {
languageSettings.optIn("org.islandoftex.arara.api.localization.AraraMessages")
languageSettings.optIn("kotlin.time.ExperimentalTime")
}
val jvmMain by getting {
dependencies {
api(project(":api"))
api(kotlin("scripting-jvm"))
api(kotlin("scripting-jvm-host"))
implementation(project(":core"))
runtimeOnly(kotlin("compiler-embeddable"))
runtimeOnly(kotlin("scripting-dependencies"))
runtimeOnly("net.java.dev.jna:jna:${Versions.jna}")
}
}
val jvmTest by getting {
dependencies {
implementation("io.kotest:kotest-runner-junit5-jvm:${Versions.kotest}")
implementation("io.kotest:kotest-assertions-core-jvm:${Versions.kotest}")
}
}
}
}
tasks.withType<Copy> {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}