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

20 Zeilen
485 B
Plaintext

2021-07-09 12:04:33 +02:00
version = "1.0.0-SNAPSHOT"
dependencies {
2021-11-26 12:31:59 +01:00
compileOnly(project(":paper-api"))
compileOnly(project(":paper-mojangapi"))
2021-07-09 12:04:33 +02:00
}
tasks.processResources {
2022-02-21 21:44:17 +01:00
val apiVersion = rootProject.providers.gradleProperty("mcVersion").get()
.split(".", "-").take(2).joinToString(".")
val props = mapOf(
"version" to project.version,
"apiversion" to apiVersion,
)
inputs.properties(props)
2023-02-19 15:57:10 +01:00
filesMatching("paper-plugin.yml") {
expand(props)
2021-07-09 12:04:33 +02:00
}
}