Added missing project level source packaging.
diff --git a/.gitignore b/.gitignore
index 7581761..74cbd54 100755
--- a/.gitignore
+++ b/.gitignore
@@ -45,6 +45,8 @@
wave/war/webclient/
wave/war/org*
pst/build/
+apache-wave-source.zip
+apache-wave-source.tar
### Reports
reports/
### Generated Sources
diff --git a/README.md b/README.md
index a1a29b4..7eec122 100644
--- a/README.md
+++ b/README.md
@@ -91,6 +91,10 @@
- **createDist**: builds the zip and tar file for distribution.
- **createDistZip**: builds the zip for distribution.
- **createDistTar**: builds the tar for distribution.
+- **createDistSource**: builds the zip and tar file for distributing the source.
+- **createDistSourceZip**: builds the zip for distributing the source.
+- **createDistSourceTar**: builds the tar for distributing the source.
+
Build
-----
diff --git a/build.gradle b/build.gradle
index 2453caa..2f6791f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -78,4 +78,59 @@
println ' This task can take between 10 to 20 minutes. '
println '----------------------------------------------'
println ''
-}
\ No newline at end of file
+}
+
+task createDistSourceZip(type: Zip) {
+ baseName = "apache-wave-source"
+ from('./') {
+ into ''
+ }
+ excludes = [
+ 'apache-wave-source.zip',
+ 'apache-wave-source.tar',
+ '.gradle/',
+ '.git/',
+ '.vagrant/',
+ '*/build/*',
+ '*/_*',
+ '*/gwt-unitCache/',
+ '*/*.iml',
+ '*/*.iws',
+ '*/*.ipr',
+ 'reports/',
+ ]
+}
+
+task createDistSourceTar(type: Tar) {
+ baseName = "apache-wave-source"
+ from('./') {
+ into ''
+ }
+ excludes = [
+ 'apache-wave-source.zip',
+ 'apache-wave-source.tar',
+ '.gradle/',
+ '.git/',
+ '.vagrant/',
+ '*/build/*',
+ '*/_*',
+ '*/gwt-unitCache/',
+ '*/*.iml',
+ '*/*.iws',
+ '*/*.ipr',
+ 'reports/',
+ ]
+}
+
+task createDistSource() {
+ doFirst {
+ println ''
+ println '--------------------------------------------------------'
+ println ' Creating Deployment Source '
+ println ' Zip and Tar files available in root directory. '
+ println '--------------------------------------------------------'
+ println ''
+ }
+}
+
+createDistSource.dependsOn createDistSourceZip, createDistSourceTar
\ No newline at end of file