diff --git a/build.gradle b/build.gradle index 03fc9ca0..6635e7a2 100644 --- a/build.gradle +++ b/build.gradle @@ -51,11 +51,18 @@ task deobfJar(type: Jar) { classifier = 'deobf' } +task sourceJar(type: Jar) { + from sourceSets.main.allSource + classifier = 'sources' +} + artifacts { archives deobfJar - archives jar + archives sourceJar } +install.dependsOn reobf + idea { module { inheritOutputDirs = false