-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (42 loc) · 1.1 KB
/
build.gradle.kts
File metadata and controls
52 lines (42 loc) · 1.1 KB
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
plugins {
kotlin("jvm") version "2.0.21"
id("io.papermc.paperweight.userdev") version "1.7.1"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("io.github.goooler.shadow") version "8.1.7"
id("xyz.jpenilla.run-paper") version "2.3.0"
}
group = "com.simplymerlin"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
paperweight.paperDevBundle("1.21.1-R0.1-SNAPSHOT")
implementation("io.github.revxrsal:lamp.common:4.0.0-beta.19")
implementation("io.github.revxrsal:lamp.bukkit:4.0.0-beta.19")
implementation("io.github.revxrsal:lamp.brigadier:4.0.0-beta.19")
implementation("com.github.SimplyMerlin:FSMChamp:v1.1.0")
}
val targetJavaVersion = 21
kotlin {
jvmToolchain(targetJavaVersion)
compilerOptions {
javaParameters = true
}
}
tasks {
shadowJar {
minimize()
}
build {
dependsOn(shadowJar)
}
}
bukkit {
main = "$group.network.${getName()}"
apiVersion = "1.21"
name = getName()
version = getVersion().toString()
authors = listOf("Merlin")
}