diff options
Diffstat (limited to 'test-plugin/build.gradle.kts')
-rw-r--r-- | test-plugin/build.gradle.kts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test-plugin/build.gradle.kts b/test-plugin/build.gradle.kts new file mode 100644 index 0000000000..9f7d9da599 --- /dev/null +++ b/test-plugin/build.gradle.kts @@ -0,0 +1,17 @@ +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) + } +} |