Meikel  Brandmeyer avatar Meikel Brandmeyer committed 55cdf36

Make build self-contained

Also extract VimClojure stuff into local.gradle.

Comments (0)

Files changed (12)

 
 .gradle/*
 build/*
+local.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']
-}
Add a comment to this file

plugins/clojuresque/clojuresque/1.4.4/clojuresque-1.4.4.jar

Binary file added.

plugins/clojuresque/clojuresque/1.4.4/clojuresque-1.4.4.pom

+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>clojuresque</groupId>
+  <artifactId>clojuresque</artifactId>
+  <version>1.4.4</version>
+</project>
Add a comment to this file

plugins/clojuresque/runtime/1.4.4/runtime-1.4.4.jar

Binary file added.

plugins/clojuresque/runtime/1.4.4/runtime-1.4.4.pom

+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>clojuresque</groupId>
+  <artifactId>runtime</artifactId>
+  <version>1.4.4</version>
+  <dependencies>
+    <dependency>
+      <groupId>org.clojure</groupId>
+      <artifactId>clojure</artifactId>
+      <version>[1.2,1.4)</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+</project>
Add a comment to this file

plugins/local-dotgradle/local-dotgradle/1.0.0/local-dotgradle-1.0.0.jar

Binary file added.

plugins/local-dotgradle/local-dotgradle/1.0.0/local-dotgradle-1.0.0.pom

+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>local-dotgradle</groupId>
+  <artifactId>local-dotgradle</artifactId>
+  <version>1.0.0</version>
+</project>
Add a comment to this file

plugins/vimclojure/gradle/2.3.1/gradle-2.3.1.jar

Binary file added.

plugins/vimclojure/gradle/2.3.1/gradle-2.3.1.pom

+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>vimclojure</groupId>
+  <artifactId>gradle</artifactId>
+  <version>2.3.1</version>
+</project>
Add a comment to this file

plugins/vimclojure/server/2.3.1/server-2.3.1.jar

Binary file added.

plugins/vimclojure/server/2.3.1/server-2.3.1.pom

+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>vimclojure</groupId>
+  <artifactId>server</artifactId>
+  <version>2.3.1</version>
+  <dependencies>
+    <dependency>
+      <groupId>org.clojure</groupId>
+      <artifactId>clojure</artifactId>
+      <version>[1.2,1.5)</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+</project>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.