]> source.dussan.org Git - sonarqube.git/commitdiff
Make sonar-plugin-api-deps:shadowJar task cacheable
authorEvgeny Mandrikov <Godin@users.noreply.github.com>
Wed, 11 Apr 2018 15:04:11 +0000 (17:04 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 11 Apr 2018 18:20:48 +0000 (20:20 +0200)
This makes many other tasks cacheable.

sonar-plugin-api-deps/build.gradle

index 0c99ac23fb62519a194c9842a076cc85bcdab281..e8620ce371a18cb840d2de68e07c7a2b06033f36 100644 (file)
@@ -37,3 +37,6 @@ dependencies {
     exclude group: 'org.codehaus.sonar', module: 'sonar-plugin-api'
   }
 }
+
+// This JAR is cached because used as a resource in sonar-core:
+shadowJar.outputs.cacheIf { true }