Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
java-version: 17
target-folder: javadoc
project: maven
custom-command: mvn dokka:dokka
custom-command: mvn dokka:javadoc
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Java idiomatic SDK for the
[Gemini Developer APIs][gemini-api-doc] and [Gemini Enterprise Agent Platform][gemini-enterprise-agent-platform-doc] APIs.

**Note:** The SDK now supports the [Interactions API](#interactions).
**Note:** The SDK now has experimental support for the [Interactions API](#interactions-experimental).

[![Maven][maven-version-image]][maven-version-link]
[![Javadoc][javadoc-image]][javadoc-link]
Expand Down Expand Up @@ -975,9 +975,12 @@ public final class FileOperations {
}
```

### Interactions
### Interactions (Experimental)

The `interactions` service provides access to features for managing interactions.
The `interactions` service provides access to experimental features.

> [!WARNING]
> This service is experimental and subject to change or removal in future releases.

You can access it via the client:
```java
Expand Down
23 changes: 0 additions & 23 deletions packages.md

This file was deleted.

105 changes: 14 additions & 91 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
<kotlin.version>1.9.10</kotlin.version>
<main.java.src.dir>src/main/java</main.java.src.dir>
<test.java.src.dir>src/test/java</test.java.src.dir>
<maven.javadoc.skip>false</maven.javadoc.skip>
<dokka.phase>none</dokka.phase>
</properties>

<distributionManagement>
Expand Down Expand Up @@ -301,7 +299,20 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<show>public</show>
<doclint>html</doclint>
<nohelp>true</nohelp>
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
<doctitle>Google Gen AI Java SDK</doctitle>
<source>${maven.compiler.source}</source>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
Expand Down Expand Up @@ -380,82 +391,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>dokka-warning</id>
<phase>${dokka.phase}</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<skip>${maven.javadoc.skip}</skip>
<target>
<echo>********************************************************************************</echo>
<echo>WARNING: Dokka Javadoc generation is active and may take a long time (~45 mins).</echo>
<echo>To skip it for faster local builds, use:</echo>
<echo> mvn install -Ddokka.phase=none</echo>
<echo>********************************************************************************</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>2.0.0</version>
<executions>
<execution>
<phase>${dokka.phase}</phase>
<goals>
<goal>javadoc</goal>
<goal>javadocJar</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDir>${project.build.directory}/site/apidocs</outputDir>
<includes>
<include>packages.md</include>
</includes>
<perPackageOptions>
<!-- Suppress internal client implementation (users access via Client.interactions) -->
<packageOption>
<matchingRegex>com\.google\.genai\.interactions\.client.*</matchingRegex>
<suppress>true</suppress>
</packageOption>
<!-- Suppress internal core implementation -->
<packageOption>
<matchingRegex>com\.google\.genai\.interactions\.core.*</matchingRegex>
<suppress>true</suppress>
</packageOption>
</perPackageOptions>
<dokkaPlugins>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>kotlin-as-java-plugin</artifactId>
<version>2.0.0</version>
</plugin>
</dokkaPlugins>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>none</phase>
</execution>
</executions>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand Down Expand Up @@ -611,18 +546,6 @@
</plugins>
</build>
<profiles>
<profile>
<id>release-docs</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<properties>
<dokka.phase>prepare-package</dokka.phase>
</properties>
</profile>
<profile>
<id>jdk8-build</id>
<activation>
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/com/google/genai/errors/package-info.java

This file was deleted.

20 changes: 0 additions & 20 deletions src/main/java/com/google/genai/package-info.java

This file was deleted.

Loading