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:
parent
34dee6447b
commit
df78138244
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue