Source

vimclojure / build.gradle

The default branch has multiple heads

Diff from to

File build.gradle

+def File local = project.file("local.gradle")
+
+allprojects {
+    useDefaultRepos = true
+
+    if (local.exists()) {
+        apply from: local
+    }
+}
+
 subprojects {
     apply plugin: 'java-base'
 
 
 apply plugin: 'clojure'
 
-repositories {
-    clojarsRepo()
+if (useDefaultRepos) {
+    repositories {
+        clojarsRepo()
+    }
 }
 
 project(':server') {
     apply plugin: 'clojure'
 
-    repositories {
-        clojureReleasesRepo()
-        clojarsRepo()
+    if (useDefaultRepos) {
+        repositories {
+            clojureReleasesRepo()
+            clojarsRepo()
+        }
     }
 
     dependencies {