-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (40 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
36
37
38
39
40
41
42
43
44
45
46
47
48
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
plugins {
kotlin("jvm") version "1.9.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("xyz.jpenilla.run-paper") version "2.1.0"
}
group = "new-uhc-plugin"
/* IGNORE this will not be kept in sync with real version */
version = "1.0-SNAPSHOT"
repositories {
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
url = uri("https://repo.aikar.co/content/groups/aikar/")
}
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
implementation("co.aikar:acf-paper:0.5.1-SNAPSHOT")
}
kotlin {
jvmToolchain(17)
}
tasks {
runServer {
minecraftVersion("1.20.1")
}
shadowJar {
archiveFileName = "uhc-plugin.jar"
}
jar {
enabled = false
}
}
bukkit {
load = BukkitPluginDescription.PluginLoadOrder.STARTUP
main = "org.gaseumlabs.uhcplugin.Plugin"
apiVersion = "1.20"
authors = listOf("balduvian", "sumdumdude")
}