From 66f3770c3c812971f966793ead7cd81500c8218d Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 23 Nov 2018 15:36:11 +0100 Subject: [PATCH] add a deobf jar to the maven so you can use deobfCompile (hopefully?) --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index 76e127e0..d9ce3029 100644 --- a/build.gradle +++ b/build.gradle @@ -77,10 +77,17 @@ jar { } +task deobfJar(type: Jar) { + from sourceSets.main.output + from sourceSets.main.java + classifier = 'dev' +} + publishing { publications { mavenJava(MavenPublication) { artifact jar + artifact deobfJar } } repositories {