Skip to content

Commit a773519

Browse files
committed
Enable retries and caching
1 parent 5159e49 commit a773519

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gradle/plugins/japicmp/src/main/kotlin/junitbuild.japicmp.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ val downloadPreviousReleaseJar by tasks.registering(Download::class) {
3939
dest(layout.buildDirectory.dir("japicmp"))
4040
overwrite(false)
4141
quiet(true)
42+
retries(2)
43+
outputs.cacheIf { true }
4244
}
4345

4446
val checkBackwardCompatibility by tasks.registering(JapicmpTask::class) {

0 commit comments

Comments
 (0)