.gradle/init.d/mavenLocal.gradle
changeset 700 45c5d320d322
child 830 1b48fa26b52c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.gradle/init.d/mavenLocal.gradle	Sun Jun 29 15:37:14 2014 +0300
@@ -0,0 +1,20 @@
+allprojects { project ->
+    buildscript {
+        if( !project.hasProperty('skipMavenLocal') ) {
+            repositories {
+                println "Adding buildscript mavenLocal()"
+                mavenLocal()
+            }
+            configurations.all {
+                resolutionStrategy.cacheChangingModulesFor 0, 'hours'
+            }
+        }
+    }
+
+    if( !project.hasProperty('skipMavenLocal') ) {
+        repositories {
+            println "Adding mavenLocal()"
+            mavenLocal()
+        }
+    }
+}