-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
43 lines (36 loc) · 936 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
35
36
37
38
39
40
41
42
43
plugins {
`honey-java`
`honey-repositories`
id("com.gradleup.shadow") version "8.3.5"
id("xyz.jpenilla.run-paper") version "2.3.1"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
}
repositories {
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
}
dependencies {
implementation(project(":honey-adventure"))
implementation(project(":honey-configs:honey-configs-adventure-okaeri"))
implementation(libs.okaeri.configs.yaml.bukkit)
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
bukkit {
main = "dev.shiza.honey.ExamplePlugin"
name = "honey-test-plugin"
version = "2.4.0-SNAPSHOT"
apiVersion = "1.21.4"
authors = listOf("rchomczyk")
}
tasks {
assemble {
dependsOn("shadowJar")
}
runServer {
minecraftVersion("1.21.4")
}
}