File tree Expand file tree Collapse file tree 2 files changed +4
-24
lines changed
Expand file tree Collapse file tree 2 files changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -79,26 +79,6 @@ task installGitHooks(type: Copy, dependsOn: 'setLocalRepo') {
7979 into localRepo + ' /hooks'
8080}
8181
82- tasks. register(' resolveDependencies' ) {
83- // Copied from here:
84- // http://www.jonathanpearlin.com/2014/10/28/gradle_resolve_all_dependencies.html
85- description ' Resolves all dependencies.'
86- doLast {
87- project. rootProject. allprojects. each { subProject ->
88- subProject. buildscript. configurations. each { configuration ->
89- if (configuration. canBeResolved) {
90- configuration. resolve()
91- }
92- }
93- subProject. configurations. each { configuration ->
94- if (configuration. canBeResolved) {
95- configuration. resolve()
96- }
97- }
98- }
99- }
100- }
101-
10282spotless {
10383 // Resolve the Spotless plugin dependencies from the buildscript repositories rather than the
10484 // project repositories. That way the spotless plugin does not use the locally built version of
Original file line number Diff line number Diff line change @@ -83,10 +83,10 @@ echo "... done: (cd ${AT} && ./.build-without-test.sh)"
8383# # Compile
8484
8585# Download dependencies, trying a second time if there is a failure.
86- (TERM=dumb timeout 300 ./gradlew resolveDependencies || \
87- (echo " ./gradlew resolveDependencies failed; sleeping before trying again." && \
86+ (TERM=dumb timeout 300 ./gradlew --write-verification-metadata sha256 help --dry-run --quiet || \
87+ (echo " ./gradlew --write-verification-metadata sha256 help --dry-run --quiet failed; sleeping before trying again." && \
8888 sleep 1m && \
89- echo " Trying again: ./gradlew resolveDependencies " && \
90- TERM=dumb timeout 300 ./gradlew resolveDependencies ))
89+ echo " Trying again: ./gradlew --write-verification-metadata sha256 help --dry-run --quiet " && \
90+ TERM=dumb timeout 300 ./gradlew --write-verification-metadata sha256 help --dry-run --quiet ))
9191
9292echo Exiting checker/bin-devel/clone-related.sh in " $( pwd) "
You can’t perform that action at this time.
0 commit comments