aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-plugin/build.gradle.kts
blob: 9f7d9da599e68adc2e5e2e9bdaf211104285d4da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
    }
}