PaperMC/test-plugin/build.gradle.kts
Owen1212055 567cc3f4b3 Brigadier Command Support (#8235)
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 <git@lynxplay.dev>
2024-05-11 16:30:30 -04:00

17 lines
396 B
Text

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)
}
}