Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit d76744d

Browse files
Fix Java 11 Javadoc generation (#1529)
Co-authored-by: Neenu Shaji <[email protected]>
1 parent ee9e6f4 commit d76744d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,9 @@ task javadocCombinedV3(type: Javadoc) {
392392
options.addStringOption("doclet", "com.microsoft.doclet.DocFxDoclet")
393393
options.addStringOption("projectname", "gax")
394394
options.docletpath = [file(System.getenv('KOKORO_GFILE_DIR') + "/java-docfx-doclet-1.3.0.jar")]
395+
// Newer Gradle 6 passes -notimestamp by default, which the doclet above doesn't understand:
396+
// https://github.com/gradle/gradle/issues/11898
397+
options.noTimestamp false
395398
}
396399

397400
clean {

0 commit comments

Comments
 (0)