diff options
-rw-r--r-- | build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index a29130bd..bb4e8e1b 100644 --- a/build.gradle +++ b/build.gradle @@ -60,6 +60,15 @@ subprojects { cveCheck 'org.owasp:dependency-check-ant:1.2.5' } + task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource + } + + artifacts { + archives sourcesJar + } + sourceCompatibility = 1.6 project.ext{ releaseRepoUrl = "file://${project(':').projectDir}/../mvn-repo/releases" |