diff --git a/gradle/maven-deployment.gradle b/gradle/maven-deployment.gradle index 84a3679fca..4be1515b66 100644 --- a/gradle/maven-deployment.gradle +++ b/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 {