0

Added the sourceJar gradle task

This commit is contained in:
David Panić
2018-11-10 21:26:57 +01:00
parent f2a6c967ba
commit 919d4870e5

View File

@@ -31,3 +31,8 @@ jar {
attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar" attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar"
} }
} }
task sourceJar(type: Jar, dependsOn: classes) {
classifier 'sources'
from sourceSets.main.allSource
}