For developer documentation, please visit https://firebase.google.com/docs/vertex-ai. This README is for contributors building and running tests for the SDK.
All Gradle commands should be run from the root of this repository.
./gradlew :firebase-vertexai:publishToMavenLocal
Important
These unit tests require mock response files, which can be downloaded by running
./firebase-vertexai/update_responses.sh
from the root of this repository.
Unit tests:
./gradlew :firebase-vertexai:check
Integration tests, requiring a running and connected device (emulator or real):
./gradlew :firebase-vertexai:deviceCheck
Format Kotlin code in this SDK in Android Studio using the [spotless plugin](https://plugins.jetbrains.com/plugin/14912-ktfmt by running:
./gradlew firebase-vertexai:spotlessApply