From 8ec46efe280bc38c53e8289eddea9f9aa84a357e Mon Sep 17 00:00:00 2001 From: XDjackieXD Date: Wed, 6 Jan 2016 05:07:32 +0100 Subject: [PATCH] fixed that the deobf & api jar had everything duplicated... --- build.gradle | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 087043fcf..dcf7fa4e8 100644 --- a/build.gradle +++ b/build.gradle @@ -63,14 +63,17 @@ processResources { } } -sourceSets { - main { - output.resourcesDir = output.classesDir - } -} - // Why is OpenComputers one of the only mods that has a readable build.gradle? (Thank you Sangar!) :D +jar {} + task deobfJar(type: Jar) { from sourceSets.main.output classifier = 'dev' } + +task apiJar(type: Jar) { + from sourceSets.main.output + from sourceSets.main.java + classifier = 'api' + include 'de/ellpeck/actuallyadditions/api/**' +} \ No newline at end of file