summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Modmuss502018-07-10 10:04:08 +0100
committerGravatar GitHub2018-07-10 10:04:08 +0100
commitec9d65fed975879c165604bc8520499fc366d744 (patch)
tree9f953b3ab386d9a6fa9c6aca0eb1a9a3bf68a6ac
parentFix method parameter info sometimes causing the exported class to become inva... (diff)
parentbasic source jar (diff)
downloadenigma-ec9d65fed975879c165604bc8520499fc366d744.tar.gz
enigma-ec9d65fed975879c165604bc8520499fc366d744.tar.xz
enigma-ec9d65fed975879c165604bc8520499fc366d744.zip
Merge pull request #3 from thiakil/src-jar
Add basic source jar
-rw-r--r--build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index c65ccca2..162d16dc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -159,9 +159,15 @@ task('libJar', type: Jar, dependsOn: classes) {
159 } 159 }
160} 160}
161 161
162task sourcesJar(type: Jar, dependsOn: classes) {
163 classifier = 'sources'
164 from sourceSets.main.allSource
165}
166
162artifacts { 167artifacts {
163 archives shadowJar 168 archives shadowJar
164 archives libJar 169 archives libJar
170 archives sourcesJar
165} 171}
166 172
167// And finally, make the build generate / install the jars. 173// And finally, make the build generate / install the jars.