mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 11:06:29 +01:00
22 lines
545 B
Plaintext
22 lines
545 B
Plaintext
version = "1.0.0-SNAPSHOT"
|
|
repositories {
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
dependencies {
|
|
// compileOnly(project(":paper-api"))
|
|
compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT")
|
|
}
|
|
|
|
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)
|
|
}
|
|
}
|