diff options
author | UpcraftLP <[email protected]> | 2019-02-15 22:41:11 +0100 |
---|---|---|
committer | keuin <[email protected]> | 2020-04-23 00:20:28 +0800 |
commit | b492598285adaaa28fc748ba2c5569be5d676d4b (patch) | |
tree | d4066b479ff350e8d2f98abca538bf5367dc3998 | |
parent | a418a06c26aed6f70041b0f55e2d5087dc0351d7 (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 - |