Commits

Meikel Brandmeyer committed efb03df

Added helper functions to add common repositories

Fixes #5

Comments (0)

Files changed (1)

src/main/groovy/clojuresque/ClojurePluginConvention.groovy

         this.warnOnReflection = false
     }
 
+    public void clojureSnapshotsRepo() {
+        project.repositories.mavenRepo name: 'clojureHudson', urls: 'http://build.clojure.org/snapshots'
+    }
+
+    public void clojarsRepo() {
+        project.repositories.mavenRepo name: 'clojars', urls: 'http://clojars.org/repo'
+    }
+
     public boolean getWarnOnReflection() {
         return this.warnOnReflection
     }