diff --git a/languages/java/build.gradle b/languages/java/build.gradle index a28a7445b..7e98de1de 100644 --- a/languages/java/build.gradle +++ b/languages/java/build.gradle @@ -34,13 +34,7 @@ repositories { // Main: Grab it from `crates/bitwarden/Cargo.toml` def branchName = "git branch --show-current".execute().text.trim() - - if (branchName == "main") { - version = "1.0.1" - } else { - // branchName-SNAPSHOT - version = "${branchName.replaceAll('/', '-')}-SNAPSHOT" - } + version = "1.0.1" afterEvaluate { from components.java