mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
[ci skip] add test plugin module
This commit is contained in:
17
test-plugin/build.gradle.kts
Normal file
17
test-plugin/build.gradle.kts
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user