Created
February 10, 2025 15:38
-
-
Save ardakazanci/53bd6b26b94c61e0a11f65a877b33d94 to your computer and use it in GitHub Desktop.
Revisions
-
ardakazanci created this gist
Feb 10, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash LOG_FILE="build_times.log" START_TIME=$(date +%s) echo "Starting Gradle Build..." ./gradlew assembleDebug END_TIME=$(date +%s) BUILD_TIME=$((END_TIME - START_TIME)) echo "Build completed in $BUILD_TIME seconds" echo "$(date '+%Y-%m-%d %H:%M:%S') - Build time: $BUILD_TIME seconds" >> $LOG_FILE