2021-07-09 04:57:49 +02:00
|
|
|
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
|
2021-07-08 14:30:01 +02:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
`java-library`
|
2021-08-17 23:37:14 +02:00
|
|
|
id("io.papermc.paperweight.userdev") version "1.1.10"
|
|
|
|
id("xyz.jpenilla.run-paper") version "1.0.4-SNAPSHOT" // Adds runServer and runMojangMappedServer tasks for testing
|
2021-07-09 04:57:49 +02:00
|
|
|
id("net.minecrell.plugin-yml.bukkit") version "0.4.0"
|
2021-07-08 14:30:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "io.papermc.paperweight"
|
|
|
|
version = "1.0.0-SNAPSHOT"
|
2021-08-17 23:37:14 +02:00
|
|
|
description = "Test plugin for paperweight-userdev"
|
2021-07-08 14:30:01 +02:00
|
|
|
|
|
|
|
dependencies {
|
2021-07-19 08:35:15 +02:00
|
|
|
paperDevBundle("1.17.1-R0.1-SNAPSHOT")
|
2021-07-08 14:30:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
2021-07-09 04:57:49 +02:00
|
|
|
// Run reobfJar on build
|
|
|
|
build {
|
|
|
|
dependsOn(reobfJar)
|
|
|
|
}
|
|
|
|
|
2021-07-08 14:30:01 +02:00
|
|
|
compileJava {
|
|
|
|
options.encoding = Charsets.UTF_8.name()
|
|
|
|
options.release.set(16)
|
|
|
|
}
|
2021-07-09 04:57:49 +02:00
|
|
|
javadoc {
|
|
|
|
options.encoding = Charsets.UTF_8.name()
|
|
|
|
}
|
|
|
|
processResources {
|
|
|
|
filteringCharset = Charsets.UTF_8.name()
|
2021-07-08 14:30:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bukkit {
|
2021-07-09 04:57:49 +02:00
|
|
|
load = BukkitPluginDescription.PluginLoadOrder.STARTUP
|
2021-07-08 14:30:01 +02:00
|
|
|
main = "io.papermc.paperweight.testplugin.TestPlugin"
|
|
|
|
apiVersion = "1.17"
|
|
|
|
authors = listOf("Author")
|
|
|
|
}
|