forked from stripe/stripe-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to fix robolectric build issues. (stripe#7064)
- Loading branch information
1 parent
016da6f
commit 1f547cf
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e # Fail on error. | ||
|
||
# To get this list run the following commands. | ||
# rm -rf ~/.m2/repository/org/robolectric/android-all-instrumented | ||
# ./gradlew testDebugUnitTest | ||
# ls ~/.m2/repository/org/robolectric/android-all-instrumented/ | ||
# The resulting list of versions should be added below. | ||
declare -a robolectric_versions=("10-robolectric-5803371-i4" "11-robolectric-6757853-i4" "13-robolectric-9030017-i4" "4.1.2_r1-robolectric-r1-i4" "9-robolectric-4913185-2-i4") | ||
|
||
for i in ${robolectric_versions[@]}; do | ||
mvn dependency:get -Dartifact=org.robolectric:android-all-instrumented:${i} | ||
done |