Skip to content

Commit

Permalink
Disable javadoc task for sample projects (#2934)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonatan Ivanov <jonatan.ivanov@gmail.com>
  • Loading branch information
izeye and jonatan-ivanov committed Jan 2, 2022
1 parent ef79442 commit ecb67ec
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,18 @@ subprojects {
}

javadoc {
configure(options) {
tags(
'apiNote:a:API Note:',
'implSpec:a:Implementation Requirements:',
'implNote:a:Implementation Note:'
)
options.addBooleanOption('Xdoclint:all,-missing', true)
if (project.name.contains('samples')) {
enabled = false
}
else {
configure(options) {
tags(
'apiNote:a:API Note:',
'implSpec:a:Implementation Requirements:',
'implNote:a:Implementation Note:'
)
options.addBooleanOption('Xdoclint:all,-missing', true)
}
}
}
}
Expand Down

0 comments on commit ecb67ec

Please sign in to comment.