3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 19:10:09 +01:00
Paper/test-plugin/build.gradle.kts
2022-04-13 20:16:14 -07:00

20 Zeilen
479 B
Plaintext

version = "1.0.0-SNAPSHOT"
dependencies {
compileOnly(project(":paper-api"))
compileOnly(project(":paper-mojangapi"))
}
tasks.processResources {
val apiVersion = rootProject.providers.gradleProperty("mcVersion").get()
.split(".", "-").take(2).joinToString(".")
val props = mapOf(
"version" to project.version,
"apiversion" to apiVersion,
)
inputs.properties(props)
filesMatching("plugin.yml") {
expand(props)
}
}