diff options
author | UpcraftLP <j-schirra@gmx.de> | 2019-02-15 22:41:11 +0100 |
---|---|---|
committer | UpcraftLP <j-schirra@gmx.de> | 2019-02-15 22:41:11 +0100 |
commit | e7fad09f14f117879f94d9b3b18e53b921572c8f (patch) | |
tree | d4066b479ff350e8d2f98abca538bf5367dc3998 | |
parent | 8243775b5cfc2108245d8cfb5a7dd1cc2c661e69 (diff) |
remove javadoc jar
-rw-r--r-- | build.gradle | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/build.gradle b/build.gradle index e29d985..0c38eca 100644 --- a/build.gradle +++ b/build.gradle @@ -56,24 +56,6 @@ task sourcesJar(type: Jar, dependsOn: classes) { 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 { from "LICENSE" } @@ -86,7 +68,6 @@ publishing { artifact(jar) { builtBy remapJar } - artifact javadocJar artifact(sourcesJar) { builtBy remapSourcesJar } @@ -99,5 +80,3 @@ publishing { // mavenLocal() } } -tasks.build.dependsOn javadocJar - |