diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle index 4ecda6e253..3b9a8dcb70 100644 --- a/fineract-provider/build.gradle +++ b/fineract-provider/build.gradle @@ -235,12 +235,17 @@ cucumber { tasks.jibDockerBuild.dependsOn bootJar -//gitProperties { -// gitPropertiesResourceDir = file("$buildDir/classes/java/main") -// dateFormat = "yyyy-MM-dd'T'HH:mmZ" -// dateFormatTimeZone = 'GMT' -// failOnNoGitDirectory = false -//} +gitProperties { + gitPropertiesResourceDir = file("$buildDir/classes/java/main") + keys = [ + 'git.branch', + 'git.commit.id', + 'git.commit.time', + 'git.remote.origin.url' + ] + dateFormat = "yyyy-MM-dd'T'HH:mm:ssZ" + dateFormatTimeZone = 'UTC' +} // Ensure tasks execute in the correct order jar.dependsOn resolve