Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Feb 26, 2020
1 parent 827127a commit 9d7510b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions publishmylib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -101,7 +97,6 @@ afterEvaluate {
}

from components.release
androidSourcesJar
}
}
repositories {
Expand Down

0 comments on commit 9d7510b

Please sign in to comment.