Skip to content

Commit ea03981

Browse files
Heiko KieselZero3141
authored andcommitted
Add scmVersion property
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent ac54321 commit ea03981

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,17 @@ plugins {
1616
}
1717

1818
group 'io.securecodebox'
19-
version = scmVersion.version
2019
sourceCompatibility = '17'
2120

21+
scmVersion {
22+
tag {
23+
prefix.set('') // Remove the plugin's default "v" tag prefix
24+
}
25+
26+
useHighestVersion.set(true) // https://axion-release-plugin.readthedocs.io/en/latest/configuration/version/#tag-with-the-highest-version
27+
}
28+
version = scmVersion.version
29+
2230
repositories {
2331
mavenCentral()
2432
}

0 commit comments

Comments
 (0)