Introduce automatic Git tag based version management in Gradle build

This commit is contained in:
Aleksandar Vidakovic
2022-01-02 21:26:09 +08:00
committed by Petri Tuomola
parent 46ff275d07
commit c691c11699
4 changed files with 9 additions and 4 deletions
+7 -1
View File
@@ -70,6 +70,7 @@ plugins {
id 'org.asciidoctor.jvm.gems' version '3.3.2' apply false
id 'org.asciidoctor.kindlegen.base' version '3.2.0' apply false
id "com.google.cloud.tools.jib" version "3.1.4" apply false
id 'fr.brouillard.oss.gradle.jgitver' version '0.10.0-rc03'
id "org.sonarqube" version "3.3"
id "com.github.andygoossens.modernizer" version "1.6.1" apply false
id 'com.github.spotbugs' version '5.0.3' apply false
@@ -86,8 +87,13 @@ ext['swaggerFile'] = "$rootDir/fineract-provider/build/generated/swagger-ui/fine
allprojects {
group = 'org.apache.fineract'
jgitver {
strategy 'PATTERN'
versionPattern '${M}.${m}.${p}-${meta.GIT_SHA1_8}'
}
repositories {
jcenter()
mavenCentral()
}
apply plugin: 'io.spring.dependency-management'