mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 15:17:17 +01:00
18 lines
441 B
Text
18 lines
441 B
Text
version = "1.0.0-SNAPSHOT"
|
|
|
|
dependencies {
|
|
compileOnly(project(":paper-api"))
|
|
compileOnly(project(":paper-mojangapi"))
|
|
}
|
|
|
|
tasks.processResources {
|
|
val apiVersion = rootProject.providers.gradleProperty("mcVersion").get()
|
|
val props = mapOf(
|
|
"version" to project.version,
|
|
"apiversion" to "\"$apiVersion\"",
|
|
)
|
|
inputs.properties(props)
|
|
filesMatching("paper-plugin.yml") {
|
|
expand(props)
|
|
}
|
|
}
|