generated from Slimefun/Addon-Template
-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle.kts
62 lines (53 loc) · 1.75 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
54
55
56
57
58
59
60
61
62
plugins {
`java-library`
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.freefair.lombok") version "8.6"
id("net.minecrell.plugin-yml.bukkit") version "0.5.3"
id("xyz.jpenilla.run-paper") version "2.2.0"
}
repositories {
mavenLocal()
mavenCentral()
maven(url = "https://papermc.io/repo/repository/maven-public/")
maven(url = "https://jitpack.io")
}
dependencies {
api("io.github.mooy1:InfinityLib:1.3.7")
compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
compileOnly("io.github.TheBusyBiscuit:Slimefun4:RC-37")
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
testImplementation("com.github.seeseemelk:MockBukkit-v1.18:2.85.2")
}
group = "io.github.addoncommunity.galactifun"
version = "MODIFIED"
description = "Galactifun"
java.sourceCompatibility = JavaVersion.VERSION_17
tasks.shadowJar {
relocate("io.github.mooy1.infinitylib", "io.github.addoncommunity.galactifun.infinitylib")
archiveFileName = "galactifun.jar"
}
bukkit {
name = rootProject.name
description = "Space addon for Slimefun"
main = "io.github.addoncommunity.galactifun.Galactifun"
version = project.version.toString()
authors = listOf("Seggan", "Mooy1", "GallowsDove", "ProfElements")
apiVersion = "1.18"
softDepend = listOf("ClayTech", "BentoBox")
loadBefore = listOf("Multiverse-Core")
depend = listOf("Slimefun")
commands {
register("galactifun") {
description = "Galactifun main command"
usage = "/galactifun <subcommand>"
aliases = listOf("gf", "galactic")
}
}
}
tasks.runServer {
downloadPlugins {
url("https://blob.build/dl/Slimefun4/Dev/1116")
}
maxHeapSize = "4G"
minecraftVersion("1.20.4")
}