[GRADLE-530] New Jar task always included classes found in 'classesDir' Created: 25/Jun/09 Updated: 04/Jan/13 Resolved: 15/Jul/09 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.6 |
Fix Version/s: | 0.7 |
Type: | Bug | ||
Reporter: | Donal McNamee | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 0 |
Description |
Creating a new task of type 'Jar' will always jar-up the classes in 'classesDir' as well as those specified in the 'FileSet' directive: (e.g.) task jarServiceFacade(type: Jar, dependsOn: compileServiceFacade) { produces:
This can be worked around by setting 'resourceCollections = []' See thread: http://article.gmane.org/gmane.comp.programming.tools.gradle.user/1908 |