-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (42 loc) · 1.09 KB
/
build.gradle.kts
File metadata and controls
52 lines (42 loc) · 1.09 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
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder
plugins {
id("briarcode.kotlin-plugin")
// alias(libs.plugins.paper.userdev)
id("io.papermc.paperweight.userdev")
}
version = "2.0.1-SNAPSHOT"
description = ""
dependencies {
api(project(":kotlin"))
paperweight.paperDevBundle(libs.versions.paper.get())
compileOnly(libs.reflectionremapper)
// WorldGuard
compileOnly(libs.worldguard)
}
tasks {
assemble {
dependsOn(reobfJar)
}
}
pitest {
mutationThreshold.set(0)
coverageThreshold.set(0)
}
koverReport {
verify {
rule {
bound {
minValue = 0
metric = kotlinx.kover.gradle.plugin.dsl.MetricType.INSTRUCTION
aggregation = kotlinx.kover.gradle.plugin.dsl.AggregationType.COVERED_PERCENTAGE
}
}
}
}
bukkit {
prefix = "region-difficulty"
description = "region-difficulty plugin"
load = PluginLoadOrder.POSTWORLD
main = "com.briarcraft.regiondifficulty.RegionDifficultyPlugin"
depend = listOf("kotlin", "WorldGuard")
}