-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
72 lines (65 loc) · 2.12 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
63
64
65
66
67
68
69
70
71
72
import net.minecrell.pluginyml.paper.PaperPluginDescription
plugins {
alias(idofrontLibs.plugins.mia.kotlin.jvm)
alias(idofrontLibs.plugins.kotlinx.serialization)
alias(idofrontLibs.plugins.mia.papermc)
alias(idofrontLibs.plugins.mia.copyjar)
alias(idofrontLibs.plugins.mia.nms)
alias(idofrontLibs.plugins.mia.publication)
alias(idofrontLibs.plugins.mia.autoversion)
id("net.minecrell.plugin-yml.paper") version "0.6.0"
}
repositories {
mavenCentral()
maven("https://repo.mineinabyss.com/releases")
maven("https://repo.mineinabyss.com/snapshots")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
maven("https://repo.william278.net/releases")
mavenLocal()
}
dependencies {
compileOnly(idofrontLibs.bundles.idofront.core)
compileOnly(idofrontLibs.minecraft.mccoroutine)
compileOnly(libs.geary.papermc)
compileOnly(libs.placeholderapi)
compileOnly(libs.huskhomes)
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
paper {
main = "com.mineinabyss.extracommands.ExtraCommands"
name = "ExtraCommands"
prefix = "ExtraCommands"
val version: String by project
this.version = version
authors = listOf("boy0000")
apiVersion = "1.21"
serverDependencies {
register("Idofront") {
required = true
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
joinClasspath = true
}
register("Geary") {
required = false
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
joinClasspath = true
}
register("PlaceholderAPI") {
required = false
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
joinClasspath = true
}
register("HuskHomes") {
required = false
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
joinClasspath = true
}
register("Maintenance") {
required = false
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
joinClasspath = true
}
}
}