Skip to content

Commit e1d14d0

Browse files
committed
build.gradle: move resolutionStrategy into allprojects
1 parent b5c2871 commit e1d14d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ allprojects {
3636
mavenCentral()
3737
jcenter()
3838
}
39+
40+
configurations.all {
41+
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' // SNAPSHOTS
42+
}
3943
}
4044

4145
if (JavaVersion.current().isJava8Compatible()) {
@@ -46,10 +50,6 @@ if (JavaVersion.current().isJava8Compatible()) {
4650
}
4751
}
4852

49-
configurations.all {
50-
resolutionStrategy.cacheChangingModulesFor 0, 'seconds' // SNAPSHOTS
51-
}
52-
5353
def projectNamesToPublish = [
5454
'objectbox-java-api',
5555
'objectbox-java',

0 commit comments

Comments
 (0)