-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
34 lines (29 loc) · 924 Bytes
/
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
plugins {
kotlin("jvm") version "2.0.0"
kotlin("plugin.serialization") version "2.0.0"
id("io.github.goooler.shadow") version "8.1.7"
}
group = "cc.worldmandia"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://repo.codemc.org/repository/maven-public/")
maven("https://maven.pvphub.me/releases/")
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:2.0.0")
implementation("net.kyori:adventure-platform-bukkit:4.3.3")
implementation("com.charleskorn.kaml:kaml-jvm:0.60.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.7.1")
implementation("com.mattmx:ktgui:2.4.0")
}
kotlin {
jvmToolchain(17)
}
tasks {
shadowJar {
relocate("com.mattmx", "$group.ktgui")
}
}