From a681e574c3f732d3ac945a1dda4a640ce5514742 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 9 Jul 2012 19:11:08 -0500 Subject: [PATCH] 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 --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index d6118cd820..f0e60c21c2 100644 --- a/build.gradle +++ b/build.gradle @@ -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) {