CrazyAuctions/core/build.gradle.kts
2023-02-28 01:25:51 -05:00

26 lines
601 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.crazycore)
}
tasks {
shadowJar {
archiveFileName.set("$projectName+core+$finalVersion.jar")
}
}