Skip to content

Commit

Permalink
make generation of git.properties optional (#5018)
Browse files Browse the repository at this point in the history
To support building from a source release, allow the
gitProperties task to fail without failing the build.
  • Loading branch information
dgrove-oss committed Oct 30, 2020
1 parent d9b4ead commit 435459c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/standalone/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ bootJar {
finalizedBy copyBootJarToBin
}

// Support building standalone from source release (no .git)
gitProperties {
failOnNoGitDirectory = false
}

// Gradle boot disables the default jar task. So need to now make
// install task depend on bootJar such that it finds the required jar file
// https://github.com/spring-projects/spring-boot/issues/13187
Expand Down

0 comments on commit 435459c

Please sign in to comment.