|
58 | 58 | <kotlin.version>1.9.10</kotlin.version> |
59 | 59 | <main.java.src.dir>src/main/java</main.java.src.dir> |
60 | 60 | <test.java.src.dir>src/test/java</test.java.src.dir> |
61 | | - <maven.javadoc.skip>false</maven.javadoc.skip> |
62 | | - <dokka.phase>none</dokka.phase> |
63 | 61 | </properties> |
64 | 62 |
|
65 | 63 | <distributionManagement> |
|
380 | 378 | </execution> |
381 | 379 | </executions> |
382 | 380 | </plugin> |
383 | | - <plugin> |
384 | | - <artifactId>maven-antrun-plugin</artifactId> |
385 | | - <version>3.1.0</version> |
386 | | - <executions> |
387 | | - <execution> |
388 | | - <id>dokka-warning</id> |
389 | | - <phase>${dokka.phase}</phase> |
390 | | - <goals> |
391 | | - <goal>run</goal> |
392 | | - </goals> |
393 | | - <configuration> |
394 | | - <skip>${maven.javadoc.skip}</skip> |
395 | | - <target> |
396 | | - <echo>********************************************************************************</echo> |
397 | | - <echo>WARNING: Dokka Javadoc generation is active and may take a long time (~45 mins).</echo> |
398 | | - <echo>To skip it for faster local builds, use:</echo> |
399 | | - <echo> mvn install -Ddokka.phase=none</echo> |
400 | | - <echo>********************************************************************************</echo> |
401 | | - </target> |
402 | | - </configuration> |
403 | | - </execution> |
404 | | - </executions> |
405 | | - </plugin> |
406 | 381 | <plugin> |
407 | 382 | <groupId>org.jetbrains.dokka</groupId> |
408 | 383 | <artifactId>dokka-maven-plugin</artifactId> |
409 | 384 | <version>2.0.0</version> |
410 | 385 | <executions> |
411 | 386 | <execution> |
412 | | - <phase>${dokka.phase}</phase> |
| 387 | + <phase>prepare-package</phase> |
413 | 388 | <goals> |
414 | 389 | <goal>javadoc</goal> |
415 | 390 | <goal>javadocJar</goal> |
|
418 | 393 | </executions> |
419 | 394 | <configuration> |
420 | 395 | <outputDir>${project.build.directory}/site/apidocs</outputDir> |
421 | | - <includes> |
422 | | - <include>packages.md</include> |
423 | | - </includes> |
424 | 396 | <perPackageOptions> |
425 | | - <!-- Suppress internal client implementation (users access via Client.interactions) --> |
426 | 397 | <packageOption> |
427 | | - <matchingRegex>com\.google\.genai\.interactions\.client.*</matchingRegex> |
428 | | - <suppress>true</suppress> |
429 | | - </packageOption> |
430 | | - <!-- Suppress internal core implementation --> |
431 | | - <packageOption> |
432 | | - <matchingRegex>com\.google\.genai\.interactions\.core.*</matchingRegex> |
| 398 | + <matchingRegex>com\.google\.genai\.interactions.*</matchingRegex> |
433 | 399 | <suppress>true</suppress> |
434 | 400 | </packageOption> |
435 | 401 | </perPackageOptions> |
|
611 | 577 | </plugins> |
612 | 578 | </build> |
613 | 579 | <profiles> |
614 | | - <profile> |
615 | | - <id>release-docs</id> |
616 | | - <activation> |
617 | | - <property> |
618 | | - <name>performRelease</name> |
619 | | - <value>true</value> |
620 | | - </property> |
621 | | - </activation> |
622 | | - <properties> |
623 | | - <dokka.phase>prepare-package</dokka.phase> |
624 | | - </properties> |
625 | | - </profile> |
626 | 580 | <profile> |
627 | 581 | <id>jdk8-build</id> |
628 | 582 | <activation> |
|
0 commit comments