Source

ClojureCheck / build.gradle

Diff from to

build.gradle

-apply plugin: 'clojure'
-
 version = '2.1.0-SNAPSHOT'
 group = 'clojurecheck'
 
+buildscript {
+    repositories { maven { url project.file('plugins').toURI().toURL() } }
+    dependencies {
+        classpath "clojuresque:clojuresque:1.4.4"
+        classpath "local-dotgradle:local-dotgradle:1.0.0"
+    }
+}
+
 repositories {
-    clojureReleasesRepo()
+    maven { url project.file('plugins').toURI().toURL() }
+}
+
+apply plugin: 'clojure'
+apply plugin: 'local-dotgradle'
+
+defaultRepositories {
     clojarsRepo()
+    mavenCentral()
 }
 
 dependencies {
-    compile 'org.clojure:clojure:1.2.+'
-
-    development 'vimclojure:server:2.2.0-SNAPSHOT'
+    compile 'org.clojure:clojure:[1.2,1.5)'
 }
 
 uploadArchives {
     clojarsDeploy()
 }
-
-task runNailgun(type: JavaExec, dependsOn: classes) {
-    classpath = project.files(
-        project.sourceSets.main.clojure.sourceDir,
-        project.sourceSets.main.classesDir,
-        project.configurations.compile,
-        project.configurations.development
-    )
-    main = 'vimclojure.nailgun.NGServer'
-    args = ['127.0.0.1']
-}