Fix script on CI
This commit is contained in:
parent
d43d0cda9e
commit
303642bb8e
2 changed files with 11 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import subprocess
|
|||
def getProjectDependencies():
|
||||
print("=> Computing dependencies...")
|
||||
command = subprocess.run(
|
||||
["./gradlew :app:dependencies |grep project"],
|
||||
["./gradlew :app:dependencies"],
|
||||
shell=True,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
|
|
@ -16,7 +16,7 @@ def getProjectDependencies():
|
|||
# Remove the trailing info like "(*)"
|
||||
result = list(map(lambda x: x.split(" (")[0], data.split("\n")))
|
||||
# Filter out comment line
|
||||
result = list(filter(lambda x: "---" in x, result))
|
||||
result = list(filter(lambda x: "--- project" in x, result))
|
||||
return result
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue