CrazyAuctions/paper/build.gradle.kts

30 lines
594 B
Plaintext
Raw Normal View History

2023-07-21 02:16:20 +02:00
plugins {
id("paper-plugin")
}
group = "${rootProject.group}.paper"
version = rootProject.version
base {
2023-07-21 07:05:59 +02:00
archivesName.set("${rootProject.name}-${project.name}")
2023-07-21 02:16:20 +02:00
}
dependencies {
implementation(project(":core"))
}
tasks {
processResources {
2023-07-21 07:05:59 +02:00
val props = mapOf(
"name" to rootProject.name,
"group" to project.group,
"version" to project.version,
"description" to rootProject.description,
"apiVersion" to "1.20"
)
2023-07-21 02:16:20 +02:00
filesMatching("paper-plugin.yml") {
2023-07-21 07:05:59 +02:00
expand(props)
2023-07-21 02:16:20 +02:00
}
}
}