Skip to content

Commit

Permalink
switch to version for SCM
Browse files Browse the repository at this point in the history
  • Loading branch information
zubri committed Sep 21, 2023
1 parent c2cc16f commit 4ab4336
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ project.ext {
nexusRepo = project.version.endsWith('-SNAPSHOT') ? 'maven-snapshots' : 'maven-releases'
}

//scmVersion {
// tag {
// prefix.set("${SRU}")
// versionSeparator.set('-')
// }
//}
//version = "${SRU}-${scmVersion.version}"
version = 'SRU2022-10.0.1'
scmVersion {
tag {
prefix.set("${SRU}")
versionSeparator.set('-')
}
}
version = "${SRU}-${scmVersion.version}"

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
Expand Down

0 comments on commit 4ab4336

Please sign in to comment.