blob: 7c01fdd0b13d4d7106d4b53b0c5ba11836615059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
version = "1.0.0-SNAPSHOT"
repositories {
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
// 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)
}
}
|