Skip to content

Commit 934246a

Browse files
committed
Opt in
1 parent e4d8bdc commit 934246a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

firebase-ai/src/testUtil/java/com/google/firebase/ai/JavaCompileTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
import com.google.firebase.ai.type.ModalityTokenCount;
5050
import com.google.firebase.ai.type.Part;
5151
import com.google.firebase.ai.type.PromptFeedback;
52+
import com.google.firebase.ai.type.PublicPreviewAPI;
5253
import com.google.firebase.ai.type.ResponseModality;
5354
import com.google.firebase.ai.type.SafetyRating;
5455
import com.google.firebase.ai.type.SpeechConfig;
@@ -60,6 +61,8 @@
6061
import java.util.List;
6162
import java.util.Map;
6263
import java.util.concurrent.Executor;
64+
65+
import kotlin.OptIn;
6366
import kotlinx.serialization.json.JsonElement;
6467
import kotlinx.serialization.json.JsonNull;
6568
import kotlinx.serialization.json.JsonObject;
@@ -71,6 +74,7 @@
7174
/**
7275
* Tests in this file exist to be compiled, not invoked
7376
*/
77+
@OptIn(markerClass = PublicPreviewAPI.class)
7478
public class JavaCompileTests {
7579

7680
public void initializeJava() throws Exception {

0 commit comments

Comments
 (0)