-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
73 lines (66 loc) · 2.44 KB
/
build.gradle.kts
File metadata and controls
73 lines (66 loc) · 2.44 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription.Permission.Default.FALSE
plugins {
alias(libs.plugins.pluginyml)
alias(libs.plugins.publishdata)
}
dependencies {
compileOnly("de.eldoria", "schematicbrushreborn-api", "2.7.8")
compileOnly("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")
compileOnly("com.sk89q.worldedit", "worldedit-bukkit", "7.3.9")
// PlotSquared Core API
compileOnly("com.plotsquared", "PlotSquared-Core", "6.11.2") {
exclude("com.intellectualsites.paster", "Paster")
exclude("org.apache.logging.log4j", "log4j-api")
exclude("com.intellectualsites.informative-annotations", "informative-annotations")
}
compileOnly("com.plotsquared", "PlotSquared-Bukkit", "6.11.2") { isTransitive = false } // PlotSquared Bukkit API
compileOnly("com.sk89q.worldguard", "worldguard-bukkit", "7.0.12")
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core:2.13.0") {
exclude("com.intellectualsites.paster")
exclude("org.yaml")
}
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.13.0") {
isTransitive = false
exclude("org.yaml")
}
testImplementation("org.junit.jupiter", "junit-jupiter-api", "5.11.4")
testImplementation("com.sk89q.worldedit", "worldedit-bukkit", "7.3.9")
testImplementation("org.spigotmc", "spigot-api", "1.16.5-R0.1-SNAPSHOT")
testImplementation("de.eldoria", "schematicbrushreborn-api", "2.7.3")
testRuntimeOnly("org.junit.jupiter", "junit-jupiter-engine")
}
publishData {
useEldoNexusRepos()
}
bukkit {
name = "GridSelector"
main = "de.eldoria.gridselector.GridSelector"
apiVersion = "1.16"
version = publishData.getVersion(true)
authors = listOf("RainbowDashLabs")
depend = listOf("SchematicBrushReborn")
softDepend = listOf("PlotSquared", "WorldGuard")
commands {
register("schematicbrushgrid") {
aliases = listOf("sbrg")
permission = "gridselector.use"
}
}
permissions {
register("gridselector.export") {
default = FALSE
}
register("gridselector.export.global") {
default = FALSE
}
register("gridselector.cluster.create") {
default = FALSE
}
register("gridselector.cluster.remove") {
default = FALSE
}
register("gridselector.cluster.repair") {
default = FALSE
}
}
}