Skip to content

Commit

Permalink
Javadoc generation fix
Browse files Browse the repository at this point in the history
- Fix to enable javadoc generation excluding kotlin lint errors
  • Loading branch information
bret-fears committed Feb 9, 2021
1 parent 238653b commit 0692498
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ allprojects {
jcenter()
google()
}

tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}

task clean(type: Delete) {
Expand Down
4 changes: 4 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ android {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}

tasks.withType(Javadoc).all {
enabled = false
}

}

task javadocs(type: Javadoc) {
Expand Down

0 comments on commit 0692498

Please sign in to comment.