From e78e565ec87dda1424c4e91fb5c61a80bf396658 Mon Sep 17 00:00:00 2001 From: bdew Date: Wed, 4 Feb 2015 21:57:52 +0200 Subject: [PATCH] Less retarded way to prevent duplicate class files in deobf --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e61651b..d04b2cb 100644 --- a/build.gradle +++ b/build.gradle @@ -70,7 +70,8 @@ task sourceJar(type: Jar) { } task deobfJar(type: Jar) { - from sourceSets.main.output.classesDir + from sourceSets.main.output + duplicatesStrategy "exclude" } jar {