Commits

Meikel Brandmeyer  committed ef2a0ef Draft

Add scriptoresque subproject

  • Participants
  • Parent commits d33e066

Comments (0)

Files changed (2)

File build.gradle

 }
 
 project(':clojuresque') {
-    apply {
-        plugin 'groovy'
-        plugin 'maven'
-    }
+    apply plugin: 'groovy'
 
     dependencies {
         compile gradleApi()
 }
 
 project(':runtime') {
-    apply {
-        plugin 'java'
-        plugin 'maven'
-    }
+    apply plugin: 'java'
 
     repositories {
         mavenCentral()
     }
 }
 
+project(':scriptoresque') {
+    apply plugin: 'groovy'
+
+    repositories {
+        mavenCentral()
+    }
+
+    dependencies {
+        compile gradleApi()
+        // Workaround for milestone4
+        compile fileTree(dir: "${gradle.gradleHomeDir}/lib/plugins", include: '**/*.jar')
+        compile project(':clojuresque')
+
+        groovy localGroovy()
+    }
+}
+
 subprojects {
+    apply plugin: 'maven'
+
     uploadArchives.doLast {
         String pomFile = project.buildDir.path + "/" +
             project.mavenPomDir.name + "/" +

File settings.gradle

 rootProject.name = 'root'
 include 'clojuresque'
 include 'runtime'
+include 'scriptoresque'