Commit e7fad09f by UpcraftLP

remove javadoc jar

parent 8243775b
...@@ -56,24 +56,6 @@ task sourcesJar(type: Jar, dependsOn: classes) { ...@@ -56,24 +56,6 @@ task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource from sourceSets.main.allSource
} }
// create a javadoc file for publishing
task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
from "LICENSE"
classifier = "javadoc"
}
// make the javadoc tool be more lenient when using Java 8
// this fixes the javadoc tool breaking on things like self-closed <br /> tags
// see https://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption("Xdoclint:none", "-quiet")
}
}
}
jar { jar {
from "LICENSE" from "LICENSE"
} }
...@@ -86,7 +68,6 @@ publishing { ...@@ -86,7 +68,6 @@ publishing {
artifact(jar) { artifact(jar) {
builtBy remapJar builtBy remapJar
} }
artifact javadocJar
artifact(sourcesJar) { artifact(sourcesJar) {
builtBy remapSourcesJar builtBy remapSourcesJar
} }
...@@ -99,5 +80,3 @@ publishing { ...@@ -99,5 +80,3 @@ publishing {
// mavenLocal() // mavenLocal()
} }
} }
tasks.build.dependsOn javadocJar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment