`gradlew -Pandroidx.printTimestamps` now prepending timestamps to Gradle output

and is enabled by the --ci argument
but leaves gradle.log unchanged

This is mostly intended to help diagnose some recent timeouts in b/307738543 but if we like it, we could still keep it afterward

Bug: 307738543

Test: ./gradlew :help -Pandroidx.printTimestamps # and see that timestamps are shown

Test: ./gradlew :help -Pandroidx.validateNoUnrecognizedMessages -Pandroidx.printTimestamps \
      # and see that timestamps are shown in the main output but not shown in the summary (so they don't affect the build output text validation)

Test: ./gradlew :help -Pandroidx.validateNoUnrecognizedMessages # and see that the help output is still displayed

Test: ./gradlew :help # and see that the fancy task status display (the rich console) is used

Test: rm ../../out/dist/logs/ -rf && ./gradlew :help -Pandroidx.validateNoUnrecognizedMessages -Pandroidx.printTimestamps; echo "Gradle logs:" && tail ../../out/dist/logs/gradle*log # and see that gradle.log still exists

Test: Treehugger runs busytown/*.sh

Change-Id: I73170e8c4016d17ca378708dc72bffc4f32147b4
diff --git a/development/ts.py b/development/ts.py
new file mode 100755
index 0000000..f4c54d9
--- /dev/null
+++ b/development/ts.py
@@ -0,0 +1,9 @@
+#!/usr/bin/python3
+# This program reads stdin, prepends the current time to each line, and prints the result
+
+from datetime import datetime
+import sys
+
+for line in sys.stdin:
+    now = datetime.now()
+    print(str(now) + " " + line, end="")