Include mavenLocal() to gradle builds.
--- a/.gradle/init.d/mavenLocal.gradle Sat Feb 18 11:14:13 2017 +0200
+++ b/.gradle/init.d/mavenLocal.gradle Sat Feb 18 11:18:43 2017 +0200
@@ -1,20 +1,26 @@
-allprojects { project ->
- buildscript {
- if( !project.hasProperty('skipMavenLocal') ) {
- repositories {
- println "Adding buildscript mavenLocal()"
- mavenLocal()
- }
- configurations.all {
- resolutionStrategy.cacheChangingModulesFor 0, 'hours'
- }
- }
- }
+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()
- }
+ // if( !project.hasProperty('skipMavenLocal') ) {
+ // repositories {
+ // println "Adding mavenLocal()"
+ // mavenLocal()
+ // }
+ // }
+
+ repositories {
+ println "Adding mavenLocal()"
+ mavenLocal()
}
}