Skip to content

Commit 722d1e7

Browse files
committed
Add Gradle cacheChangingModulesFor=0 to avoid deps caching
1 parent 659f0eb commit 722d1e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ configure(javaProjects) { subproject ->
204204
[compileClasspath, testCompileClasspath, testRuntimeClasspath].each {
205205
it.extendsFrom(provided)
206206
}
207+
208+
configureEach {
209+
resolutionStrategy.cacheChangingModulesFor 0, 'minutes'
210+
}
207211
}
208212

209213
components.java.with {

0 commit comments

Comments
 (0)