File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -79,16 +79,15 @@ if (jointBuildGroovyJarProperty) {
7979
8080allprojects {
8181 repositories {
82- mavenLocal()
8382 maven { url " http://repo.grails.org/grails/core" }
8483 }
8584
8685 configurations {
8786 all {
8887 resolutionStrategy {
89- // def cacheHours = isCiBuild ? 1 : 24
90- // cacheDynamicVersionsFor cacheHours, 'hours'
91- // cacheChangingModulesFor cacheHours, 'hours'
88+ def cacheHours = isCiBuild ? 1 : 24
89+ cacheDynamicVersionsFor cacheHours, ' hours'
90+ cacheChangingModulesFor cacheHours, ' hours'
9291 }
9392 }
9493 }
@@ -152,6 +151,12 @@ subprojects { project ->
152151 }
153152 }
154153
154+ repositories {
155+ if (! isCiBuild) {
156+ mavenLocal()
157+ }
158+ }
159+
155160 dependencies {
156161 groovy groovyDependency
157162
You can’t perform that action at this time.
0 commit comments