Skip to content

Commit

Permalink
Merge pull request #2020 from Adyen/chore/remove-gradle-downloading-log
Browse files Browse the repository at this point in the history
Fix downloading gradle wrapper log leaking into dependency list task output
  • Loading branch information
jreij authored Feb 20, 2025
2 parents 4f9dd25 + 40e1778 commit cd40c64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/check_dependency_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def compare_dependency_list(base_ref: str, head_ref: str):

def get_dependency_list(git_ref: str) -> str:
subprocess.Popen(["git", "checkout", "-f", git_ref])
# This is needed to avoid having the "downloading" wrapper progress text printed inside the output of the task
subprocess.Popen(["./gradlew", "wrapper", "-q"])
return subprocess.check_output(["./gradlew", "dependencyList", "-q", "--no-configuration-cache"]
).decode(sys.stdout.encoding
).strip()
Expand Down

0 comments on commit cd40c64

Please sign in to comment.