From df7813824422c99b10cce41d6cddb6e5bf146874 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 28 Nov 2015 18:27:24 -0800 Subject: [PATCH] Don't build a deobf jar when building They are deprecated with ForgeGradle 2.0+. Authors should use deobfCompile in their dependencies block instead. --- build.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index d208db72..d5365e5a 100644 --- a/build.gradle +++ b/build.gradle @@ -115,7 +115,7 @@ javadoc { } tasks.javadoc.dependsOn delombok -tasks.build.dependsOn sourceJar, javadocJar, deobfJar +tasks.build.dependsOn sourceJar, javadocJar tasks.withType(JavaCompile) { task -> task.options.encoding = 'UTF-8' @@ -128,7 +128,6 @@ publishing { artifact jar artifact sourceJar artifact javadocJar - artifact deobfJar } } repositories { @@ -149,7 +148,6 @@ curseforge { changelog = project.hasProperty('changelog') ? project.changelog : '' releaseType = 'alpha' - addArtifact deobfJar addArtifact sourceJar addArtifact javadocJar }