Git Properties
Best pattern and practices for spring boot and spring cloud framework.
Release date: January 2021 | Spring Boot: 2.4.x | Revision: 1
Git Properties
Enable Git Properties at Build Script
Add gradle git properties plugin version to gradle.properties
.
gradle.properties
gitPropertiesPluginVersion=2.2.4
Use bellow dependencies at root build script build.gradle
.
build.gradle
plugins {
id "com.gorylenko.gradle-git-properties" version "${gitPropertiesPluginVersion}"
}
gitProperties {
failOnNoGitDirectory = false
}
Project Code
-
Github - Git Properties