mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-01 00:10:32 +01:00
19 lines
441 B
Plaintext
19 lines
441 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()
|
|
val props = mapOf(
|
|
"version" to project.version,
|
|
"apiversion" to "\"$apiVersion\"",
|
|
)
|
|
inputs.properties(props)
|
|
filesMatching("paper-plugin.yml") {
|
|
expand(props)
|
|
}
|
|
}
|