Permalink
Browse files

Add a gradle build file to create an combined archive for the modules

  • Loading branch information...
1 parent f83e281 commit 4362b6940086d85a21ffeff59e1e26d4fc0e7e30 @starksm64 committed May 15, 2012
Showing with 18 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +15 −0 build.gradle
View
@@ -0,0 +1,3 @@
+.idea
+.gradle
+build
View
@@ -0,0 +1,15 @@
+
+apply plugin: 'java'
+
+// Create a zip archive of the modules so that one bundle can be used to
+// update the as7 modules
+task createModuleZip(type: Zip) {
+ from 'mongodb/modules'
+ from 'mysql/modules'
+ from 'switchyard/modules'
+ into 'modules'
+}
+
+println createModuleZip.archiveName
+println relativePath(createModuleZip.destinationDir)
+println relativePath(createModuleZip.archivePath)

0 comments on commit 4362b69

Please sign in to comment.