diff --git a/bluecommands-brigadier/build.gradle.kts b/bluecommands-brigadier/build.gradle.kts index fa13d75..aff6fe5 100644 --- a/bluecommands-brigadier/build.gradle.kts +++ b/bluecommands-brigadier/build.gradle.kts @@ -33,7 +33,7 @@ val lastVersion = if (lastTag.isEmpty()) "dev" else lastTag.substring(1) // remo val commits = "git rev-list --count $lastTag..HEAD".runCommand() println("Git hash: $gitHash" + if (clean) "" else " (dirty)") -group = "de.bluecolored.bluecommands" +group = "de.bluecolored" version = lastVersion + (if (commits == "0") "" else "-$commits") + (if (clean) "" else "-dirty") diff --git a/bluecommands-core/build.gradle.kts b/bluecommands-core/build.gradle.kts index 8150932..624ed2c 100644 --- a/bluecommands-core/build.gradle.kts +++ b/bluecommands-core/build.gradle.kts @@ -33,7 +33,7 @@ val lastVersion = if (lastTag.isEmpty()) "dev" else lastTag.substring(1) // remo val commits = "git rev-list --count $lastTag..HEAD".runCommand() println("Git hash: $gitHash" + if (clean) "" else " (dirty)") -group = "de.bluecolored.bluecommands" +group = "de.bluecolored" version = lastVersion + (if (commits == "0") "" else "-$commits") + (if (clean) "" else "-dirty")