Include **/*.aj files in *-sources.jar files

Previously only **/*.java sources files were included in the sources
jars. This is not ideal for the spring-aspects jar nor does it match
prior versions of the sources jars.

Now **/*.aj files are included in addition to the **/*.java files.

Issue: SPR-9576
This commit is contained in:
Rob Winch 2012-07-09 19:11:08 -05:00 committed by Chris Beams
parent cf147a82ef
commit a681e574c3
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ configure(subprojects) { subproject ->
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allJava
from sourceSets.main.allJava.srcDirs
include '**/*.java', '**/*.aj'
}
task javadocJar(type: Jar) {