Don't build a deobf jar when building

They are deprecated with ForgeGradle 2.0+. Authors should use deobfCompile in their dependencies block instead.
This commit is contained in:
Nick 2015-11-28 18:27:24 -08:00
parent 34dee6447b
commit df78138244

View file

@ -115,7 +115,7 @@ javadoc {
} }
tasks.javadoc.dependsOn delombok tasks.javadoc.dependsOn delombok
tasks.build.dependsOn sourceJar, javadocJar, deobfJar tasks.build.dependsOn sourceJar, javadocJar
tasks.withType(JavaCompile) { task -> tasks.withType(JavaCompile) { task ->
task.options.encoding = 'UTF-8' task.options.encoding = 'UTF-8'
@ -128,7 +128,6 @@ publishing {
artifact jar artifact jar
artifact sourceJar artifact sourceJar
artifact javadocJar artifact javadocJar
artifact deobfJar
} }
} }
repositories { repositories {
@ -149,7 +148,6 @@ curseforge {
changelog = project.hasProperty('changelog') ? project.changelog : '' changelog = project.hasProperty('changelog') ? project.changelog : ''
releaseType = 'alpha' releaseType = 'alpha'
addArtifact deobfJar
addArtifact sourceJar addArtifact sourceJar
addArtifact javadocJar addArtifact javadocJar
} }