Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Logging improvements
  • Loading branch information
mhsmith committed Jun 3, 2025
commit ddfb875de4d4974f67e4dd8c7421b9b8f68cc126
9 changes: 8 additions & 1 deletion Android/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,12 @@ def setup_sdk():
if not all((android_home / "licenses" / path).exists() for path in [
"android-sdk-arm-dbt-license", "android-sdk-license"
]):
run([sdkmanager, "--licenses"], text=True, input="y\n" * 100)
run(
[sdkmanager, "--licenses"],
text=True,
capture_output=True,
input="y\n" * 100,
)

# Gradle may install this automatically, but we can't rely on that because
# we need to run adb within the logcat task.
Expand Down Expand Up @@ -542,6 +547,8 @@ def log(line):
("Mode", mode), ("Module", module), ("Args", join_command(context.args))
] if value
]
if context.verbose >= 2:
args.append("--info")
log("> " + join_command(args))

try:
Expand Down
Loading