summary refs log tree commit diff stats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle21
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
-