2021-07-09 03:04:33 -07:00
|
|
|
version = "1.0.0-SNAPSHOT"
|
|
|
|
|
|
|
|
dependencies {
|
2021-11-26 04:31:59 -07:00
|
|
|
compileOnly(project(":paper-api"))
|
2021-07-09 03:04:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.processResources {
|
2022-02-21 13:44:17 -07:00
|
|
|
val apiVersion = rootProject.providers.gradleProperty("mcVersion").get()
|
2021-12-28 17:50:02 -07:00
|
|
|
val props = mapOf(
|
|
|
|
"version" to project.version,
|
2023-06-08 19:45:48 -07:00
|
|
|
"apiversion" to "\"$apiVersion\"",
|
2021-12-28 17:50:02 -07:00
|
|
|
)
|
|
|
|
inputs.properties(props)
|
2023-02-19 07:57:10 -07:00
|
|
|
filesMatching("paper-plugin.yml") {
|
2021-12-28 17:50:02 -07:00
|
|
|
expand(props)
|
2021-07-09 03:04:33 -07:00
|
|
|
}
|
|
|
|
}
|