Browse Source

SEC-1976: include *.aj files in sourceJar

Rob Winch 13 years ago
parent
commit
b28e3a0b2f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gradle/maven-deployment.gradle

+ 2 - 1
gradle/maven-deployment.gradle

@@ -3,7 +3,8 @@ apply plugin: 'maven'
 // Create a source jar for uploading
 task sourceJar(type: Jar) {
     classifier = 'sources'
-    from sourceSets.main.java
+    from sourceSets.main.java.srcDirs
+    include '**/*.java', '**/*.aj'
 }
 
 artifacts {