Skip to content

Commit d33ee4c

Browse files
authored
Update Javadoc task to not use module directories. (#1290)
1 parent 11f715c commit d33ee4c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.gradle

+11
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@ coveralls {
122122
jacocoReportPath "build/reports/jacoco/test/jacocoTestReport.xml"
123123
}
124124

125+
javadoc {
126+
doFirst {
127+
// We should remove this once we start using module-info.java.
128+
// Without that file, Javadoc will fall back to "undefined" as the module
129+
// name resulting in broken search links. This option explicitly declares
130+
// that we are not currently using modules and the module name should be
131+
// omitted from Javadoc.
132+
options.addBooleanOption('-no-module-directories', true)
133+
}
134+
}
135+
125136
gitPublish {
126137
repoUri = '[email protected]:stripe/stripe-java.git'
127138
branch = 'gh-pages'

0 commit comments

Comments
 (0)