-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
53 lines (42 loc) · 1.21 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.0"
kotlin("plugin.serialization") version "1.8.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
}
group = "com.jakubmeysner.chessed"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://oss.sonatype.org/content/repositories/central")
maven("https://jitpack.io")
maven("https://maven.enginehub.org/repo")
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0-RC")
compileOnly("org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT")
implementation("com.github.bhlangonijr:chesslib:1.3.3")
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.2.9")
testImplementation(kotlin("test"))
}
kotlin {
jvmToolchain(17)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
languageVersion = "1.8"
}
}
tasks.processResources {
filesMatching("*.yml") {
expand("version" to version)
}
}
tasks.shadowJar {
archiveClassifier.set("")
}
tasks.test {
useJUnitPlatform()
}