Skip to content

Commit

Permalink
Include **/*.aj files in *-sources.jar files
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rwinch authored and cbeams committed Jul 10, 2012
1 parent cf147a8 commit a681e57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a681e57

Please sign in to comment.