summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thiakil2018-06-30 17:20:12 +0800
committerGravatar Thiakil2018-06-30 18:31:13 +0800
commitb4bde863c4686ec13e08b10b6ff0c45891faf407 (patch)
tree9f953b3ab386d9a6fa9c6aca0eb1a9a3bf68a6ac
parentFix method parameter info sometimes causing the exported class to become inva... (diff)
downloadenigma-b4bde863c4686ec13e08b10b6ff0c45891faf407.tar.gz
enigma-b4bde863c4686ec13e08b10b6ff0c45891faf407.tar.xz
enigma-b4bde863c4686ec13e08b10b6ff0c45891faf407.zip
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.