mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 11:38:29 +01:00
b98d20a8ac
Adds the ability for plugins to register their own brigadier commands --------- Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
18 lines
396 B
Plaintext
18 lines
396 B
Plaintext
version = "1.0.0-SNAPSHOT"
|
|
|
|
dependencies {
|
|
compileOnly(project(":paper-api"))
|
|
}
|
|
|
|
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)
|
|
}
|
|
}
|