Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Commit bd63dbb

Browse files
Configuration: Controlling dependency caching programmatically (#55)
1 parent 68c4d68 commit bd63dbb

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

demos/optics-compiler-plugin-demo/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ test {
4545
events "passed", "failed", "standardOut", "standardError"
4646
}
4747
}
48+
49+
configurations.all {
50+
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
51+
}

demos/refined-types-compiler-plugin-demo/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ plugins {
3232
}
3333

3434
apply plugin: "io.arrow-kt.refined-types"
35+
36+
configurations.all {
37+
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
38+
}

demos/refined-types-library-demo/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ test {
3030
exceptionFormat 'full'
3131
events "passed", "failed", "standardOut", "standardError"
3232
}
33+
}
34+
35+
configurations.all {
36+
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
3337
}

0 commit comments

Comments
 (0)