geforkt von Mirrors/Paper
aa8a835912
closes #7216
24 Zeilen
570 B
Plaintext
24 Zeilen
570 B
Plaintext
version = "1.0.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
maven("https://libraries.minecraft.net")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":paper-api"))
|
|
compileOnly(project(":paper-mojangapi"))
|
|
}
|
|
|
|
tasks.processResources {
|
|
val apiVersion = rootProject.providers.gradleProperty("mcVersion").forUseAtConfigurationTime().get()
|
|
.split(".", "-").take(2).joinToString(".")
|
|
val props = mapOf(
|
|
"version" to project.version,
|
|
"apiversion" to apiVersion,
|
|
)
|
|
inputs.properties(props)
|
|
filesMatching("plugin.yml") {
|
|
expand(props)
|
|
}
|
|
}
|