mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-20 09:35:39 +01:00
20 lines
479 B
Plaintext
20 lines
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)
|
|
}
|
|
}
|