Commits

Meikel Brandmeyer committed 5e5d4ae Draft

Add scriptoresque-runtime subproject

Comments (0)

Files changed (3)

     }
 }
 
+project(':scriptoresque-runtime') {
+    apply plugin: 'java'
+
+    repositories {
+        mavenCentral()
+    }
+
+    dependencies {
+        compile project(':clojuresque-runtime')
+    }
+}
+
 subprojects {
     apply plugin: 'maven'
 

scriptoresque/src/main/groovy/clojuresque/ClojureScriptPlugin.groovy

     public void apply(Project project) {
         project.apply plugin: ClojureBasePlugin.class
 
+        configureConfigurations(project)
         configureSourceSets(project)
     }
 
+    private void configureConfigurations(Project project) {
+        project.dependencies {
+            clojuresque group: "clojuresque", name: "scriptoresque-runtime",
+                version: Util.properties.getProperty("clojuresque.version")
+        }
+    }
+
     private void configureSourceSets(Project project) {
         ProjectInternal projectInternal = (ProjectInternal)project
 
 include 'clojuresque'
 include 'clojuresque-runtime'
 include 'scriptoresque'
+include 'scriptoresque-runtime'
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.