From 9d7510b3efc77ceff5d828f417020f7ce1dc09bf Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Wed, 26 Feb 2020 23:40:15 +0100 Subject: [PATCH] unnecessary comments --- publishmylib/build.gradle | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/publishmylib/build.gradle b/publishmylib/build.gradle index 076f69c..5c072aa 100644 --- a/publishmylib/build.gradle +++ b/publishmylib/build.gradle @@ -39,20 +39,16 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' } +// needed because: throwing: javadoc: error - Illegal package name +tasks.withType(Javadoc).all { + enabled = false +} + task androidJavadocs(type: Javadoc) { source = android.sourceSets.main.java.source classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) } -// because: -// if (JavaVersion.current().isJava8Compatible()) { -// options.addStringOption('Xdoclint:none', '-quiet') -// } -// was throwing: javadoc: error - Illegal package name -tasks.withType(Javadoc).all { - enabled = false -} - task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) { classifier = 'javadoc' from androidJavadocs.destinationDir @@ -101,7 +97,6 @@ afterEvaluate { } from components.release - androidSourcesJar } } repositories {