summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Panić <david@panic.tk>2018-11-10 21:26:57 +0100
committerDavid Panić <david@panic.tk>2018-11-10 21:26:57 +0100
commit919d4870e5dfb00eb5d2fb0efc5b109fe62340f2 (patch)
treee20b19c47ba655501b309399e16c237d55b38e91
parentf2a6c967ba6b32a267b58989cd9379aa964db274 (diff)
Added the sourceJar gradle task
-rw-r--r--build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 08dc139..aa99102 100644
--- a/build.gradle
+++ b/build.gradle
@@ -30,4 +30,9 @@ jar {
manifest {
attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar"
}
+}
+
+task sourceJar(type: Jar, dependsOn: classes) {
+ classifier 'sources'
+ from sourceSets.main.allSource
} \ No newline at end of file