aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-plugin/build.gradle.kts
blob: 3edf55f2883ff5787d6b555f6e489ae7baa5bfb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version = "1.0.0-SNAPSHOT"

dependencies {
    compileOnly(project(":paper-api"))
    compileOnly(project(":paper-mojangapi"))
}

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