CrazyAuctions/api/build.gradle.kts
2023-03-04 22:34:21 -05:00

27 lines
631 B
Plaintext

plugins {
id("crazyauctions.root-plugin")
}
val projectBeta = settings.versions.projectBeta.get().toBoolean()
val projectVersion = settings.versions.projectVersion.get()
val projectName = settings.versions.projectName.get()
val finalVersion = if (projectBeta) "$projectVersion+beta" else projectVersion
project.version = finalVersion
dependencies {
//compileOnly(libs.adventure.api)
//compileOnly(libs.adventure.text)
compileOnly(libs.config.me)
compileOnly(libs.yaml)
compileOnly(libs.crazycore.api)
}
tasks {
shadowJar {
archiveFileName.set("$projectName+api+$finalVersion.jar")
}
}