Skip to content

Commit

Permalink
git
Browse files Browse the repository at this point in the history
  • Loading branch information
kjozsa committed Nov 30, 2024
1 parent 4d1e4e5 commit 44b2fbc
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions fineract-provider/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44b2fbc

Please sign in to comment.