If Gradle dependencies are set up correctly, then it should be possible to build any subproject starting with a pristine tree. These take too long to use for every commit, pull request, etc. But running an extensive test like this periodically (e.g., weekly) seems reasonable.
9 lines
238 B
Bash
9 lines
238 B
Bash
# -*- mode: sh; sh-shell: sh -*-
|
|
|
|
# initial p2AsMaven downloads are sometimes slow
|
|
travis_wait 30 ./gradlew --dry-run
|
|
|
|
submodule=${BUILD_ONLY_SUBMODULE:+:$BUILD_ONLY_SUBMODULE:}
|
|
|
|
./gradlew --continue --no-build-cache "$submodule"assemble
|