[ci skip] add test plugin module

This commit is contained in:
granny
2024-05-02 14:50:02 -07:00
parent 40392f28e4
commit 087d43d00b
7 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
version = "1.0.0-SNAPSHOT"
dependencies {
compileOnly(project(":purpur-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)
}
}