Skip to content

Commit

Permalink
GPX-546 [CICD] Unterstützung für Gradle Builds
Browse files Browse the repository at this point in the history
bash not available in container

Signed-off-by: fhochleitner <felix.hochleitner@outlook.com>
  • Loading branch information
fhochleitner committed Jan 30, 2024
1 parent 47e2cd0 commit c65180d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/bin/gradle-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ main(){

gradle --version | while IFS= read -r line; do printf '%s [gradle-wrapper] %s\n' "$(date '+%Y-%m-%d %H:%M:%S')" "$line"; done
printf "%s [gradle-wrapper] %s" "$(date '+%Y-%m-%d %T')" "gradle $* "
bash -c "gradle $* -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat='yyyy-MM-dd HH:mm:ss'"
sh -c "gradle $* -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat='yyyy-MM-dd HH:mm:ss'"
}

main "$*"
2 changes: 1 addition & 1 deletion gradle/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1

0 comments on commit c65180d

Please sign in to comment.