summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index c7db8ec5..f798d1d2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -158,9 +158,15 @@ task('libJar', type: Jar, dependsOn: classes) {
158 } 158 }
159} 159}
160 160
161task sourcesJar(type: Jar, dependsOn: classes) {
162 classifier = 'sources'
163 from sourceSets.main.allSource
164}
165
161artifacts { 166artifacts {
162 archives shadowJar 167 archives shadowJar
163 archives libJar 168 archives libJar
169 archives sourcesJar
164} 170}
165 171
166// And finally, make the build generate / install the jars. 172// And finally, make the build generate / install the jars.