Skip to content

Commit

Permalink
chore: updated build file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBv committed Dec 22, 2023
1 parent 87cfe24 commit efb2d40
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ if (build_snapshot) {
}

if (build_id != null) {
// get last two parts of build id
def split = build_id.split('-')
if (split.length >= 2) {
def build_id_last = split[split.length - 1]
def build_id_second = split[split.length - 2]
build_id = build_id_second + "-" + build_id_last
}

version += "+build.${build_id}"
}

group = 'com.github.alexthe667' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
//archivesBaseName = 'iceandfire'
archivesBaseName = 'iceandfire'

java.toolchain.languageVersion = JavaLanguageVersion.of(17)

Expand Down

0 comments on commit efb2d40

Please sign in to comment.