2020-05-07 10:21:39 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -Eeu
|
|
|
|
|
|
|
|
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
|
|
|
# Gradle needs to be run in 'android' subfolder
|
2022-07-25 20:38:41 +00:00
|
|
|
cd "${GIT_ROOT}/android"
|
2020-05-07 10:21:39 +00:00
|
|
|
|
|
|
|
# Print all our sub-projects
|
|
|
|
./gradlew projects --no-daemon --console plain 2>&1 \
|
|
|
|
| grep "Project ':" \
|
|
|
|
| sed -E "s;^.--- Project '\:([@_a-zA-Z0-9\-]+)';\1;"
|