From e7fad09f14f117879f94d9b3b18e53b921572c8f Mon Sep 17 00:00:00 2001 From: UpcraftLP Date: Fri, 15 Feb 2019 22:41:11 +0100 Subject: [PATCH] remove javadoc jar --- build.gradle | 21 --------------------- 1 file changed, 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
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 -