mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-12-01 13:23:22 +01:00
27 lines
631 B
Plaintext
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")
|
|
}
|
|
} |