You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2011/06/10 02:44:42 UTC

svn commit: r1134151 - /tapestry/tapestry5/trunk/build.gradle

Author: hlship
Date: Fri Jun 10 00:44:42 2011
New Revision: 1134151

URL: http://svn.apache.org/viewvc?rev=1134151&view=rev
Log:
TAP5-116: Blindly package up all non-derived files as the source bundle

Modified:
    tapestry/tapestry5/trunk/build.gradle

Modified: tapestry/tapestry5/trunk/build.gradle
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/build.gradle?rev=1134151&r1=1134150&r2=1134151&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/build.gradle (original)
+++ tapestry/tapestry5/trunk/build.gradle Fri Jun 10 00:44:42 2011
@@ -172,10 +172,11 @@ task distSourcesZip(type: Zip) {
  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 }
-   }
- }
+ from project.projectDir
+ exclude "**/.*/**"
+ exclude "**/bin/**"
+ exclude "**/target/**"
+ exclude "**/build/**"
+ exclude "**/test-output/**"  // Left around by TestNG sometimes
+ 
 }
\ No newline at end of file