-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
38 lines (30 loc) · 784 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
38 lines (30 loc) · 784 Bytes
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
plugins {
java
kotlin("jvm") version "1.3.71"
kotlin("plugin.serialization") version "1.3.71"
}
group = "pw.dotdash"
version = "0.1.1"
apply(plugin = "maven")
repositories {
mavenCentral()
maven("https://repo.spongepowered.org/maven")
}
dependencies {
api(kotlin("stdlib-jdk8"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0")
api("org.spongepowered:configurate-core:3.6")
testImplementation("org.spongepowered:configurate-hocon:3.6")
testImplementation("junit:junit:4.12")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}