diff --git a/build.gradle b/build.gradle index bf70c5d..60475af 100644 --- a/build.gradle +++ b/build.gradle @@ -63,6 +63,20 @@ dependencies { } +task sourceJar(type: Jar) { + from(sourceSets.main.java) + classifier = "src" +} + +task devJar(type: Jar) { + from (sourceSets.main.output) + classifier = "deobf" +} + +artifacts { + archives sourceJar, devJar +} + processResources { // this will ensure that this task is redone when the versions change.