File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 java-version : 17
2121 target-folder : javadoc
2222 project : maven
23- custom-command : mvn javadoc :javadoc
23+ custom-command : mvn dokka :javadoc
Original file line number Diff line number Diff line change 294294 </execution >
295295 </executions >
296296 </plugin >
297- <plugin >
298- <groupId >org.apache.maven.plugins</groupId >
299- <artifactId >maven-javadoc-plugin</artifactId >
300- <version >3.6.3</version >
301- <configuration >
302- <show >public</show >
303- <doclint >html</doclint >
304- <nohelp >true</nohelp >
305- <outputDirectory >${project.build.directory} /javadoc</outputDirectory >
306- <doctitle >Google Gen AI Java SDK</doctitle >
307- <source >${maven.compiler.source} </source >
308- <encoding >UTF-8</encoding >
309- </configuration >
310- </plugin >
297+
311298 <plugin >
312299 <groupId >org.sonatype.plugins</groupId >
313300 <artifactId >nexus-staging-maven-plugin</artifactId >
386373 </execution >
387374 </executions >
388375 </plugin >
376+ <plugin >
377+ <groupId >org.jetbrains.dokka</groupId >
378+ <artifactId >dokka-maven-plugin</artifactId >
379+ <version >2.0.0</version >
380+ <executions >
381+ <execution >
382+ <phase >prepare-package</phase >
383+ <goals >
384+ <goal >javadoc</goal >
385+ <goal >javadocJar</goal >
386+ </goals >
387+ </execution >
388+ </executions >
389+ <configuration >
390+ <outputDir >${project.build.directory} /site/apidocs</outputDir >
391+ <perPackageOptions >
392+ <packageOption >
393+ <matchingRegex >com\.google\.genai\.interactions.*</matchingRegex >
394+ <suppress >true</suppress >
395+ </packageOption >
396+ </perPackageOptions >
397+ <dokkaPlugins >
398+ <plugin >
399+ <groupId >org.jetbrains.dokka</groupId >
400+ <artifactId >kotlin-as-java-plugin</artifactId >
401+ <version >2.0.0</version >
402+ </plugin >
403+ </dokkaPlugins >
404+ </configuration >
405+ </plugin >
389406 <plugin >
390407 <groupId >org.jacoco</groupId >
391408 <artifactId >jacoco-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments