Author: hlship
Date: Fri Jun 10 00:44:30 2011
New Revision: 1134149

URL: http://svn.apache.org/viewvc?rev=1134149&view=rev
Log:
TAP5-116: Add target for constructing a set of source files

Modified:
    tapestry/tapestry5/trunk/build.gradle

Modified: tapestry/tapestry5/trunk/build.gradle
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/build.gradle?rev=1134149&r1=1134148&r2=1134149&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/build.gradle (original)
+++ tapestry/tapestry5/trunk/build.gradle Fri Jun 10 00:44:30 2011
@@ -164,4 +164,18 @@ task continuousIntegration(dependsOn: [s
 
 task wrapper(type: Wrapper) {
        gradleVersion = '1.0-milestone-3'
+}
+
+task distSourcesZip(type: Zip) {
+ classifier = "sources"
+ baseName = "apache-tapestry"
+ version = project.version
+ destinationDir = buildDir
+ 
+ subprojects.each {sp ->
+   into (sp.name) { from sp.projectDir ; include "LIC*" ; include "NOT*"}
+   sp.sourceSets.all.findAll { set -> set.name != "test" }.each { set -> 
+     into ("${sp.name}/src") { from set.allSource }
+   }
+ }
 }
\ No newline at end of file


Reply via email to