From c436cf07512edc14434722ecce505d89fad1a6b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Basl=C3=A9?= Date: Wed, 3 Apr 2019 19:21:02 +0200 Subject: [PATCH] [build] Make downloadBaseline faster by using compression + onlyIfNewer --- reactor-core/build.gradle | 3 +++ reactor-test/build.gradle | 3 +++ 2 files changed, 6 insertions(+) diff --git a/reactor-core/build.gradle b/reactor-core/build.gradle index 412564c284..49b62cc20e 100644 --- a/reactor-core/build.gradle +++ b/reactor-core/build.gradle @@ -82,6 +82,9 @@ jmh { task downloadBaseline(type: Download) { onlyIf { "$compatibleVersion" != "SKIP" } + onlyIfNewer true + compress true + src "${repositories.mavenCentral().url}io/projectreactor/reactor-core/$compatibleVersion/reactor-core-${compatibleVersion}.jar" dest "${buildDir}/baselineLibs/reactor-core-${compatibleVersion}.jar" } diff --git a/reactor-test/build.gradle b/reactor-test/build.gradle index 70dea0c2a0..af4cbf5e45 100644 --- a/reactor-test/build.gradle +++ b/reactor-test/build.gradle @@ -31,6 +31,9 @@ dependencies { task downloadBaseline(type: Download) { onlyIf { "$compatibleVersion" != "SKIP" } + onlyIfNewer true + compress true + src "${repositories.mavenCentral().url}io/projectreactor/reactor-test/$compatibleVersion/reactor-test-${compatibleVersion}.jar" dest "${buildDir}/baselineLibs/reactor-test-${compatibleVersion}.jar" }