### Install Git Hooks Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Run this command at the root of the repository to install necessary git hooks for behaviors like pre-push formatting. ```bash ./INSTALL_HOOKS.sh ``` -------------------------------- ### Create Changelog Entry for Common Project Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Example of creating a changelog entry for the 'common' project using the 'change' script. ```bash change common "hello world!" ``` -------------------------------- ### Create Changelog Entry with Message Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Use the 'change' script to create a changelog entry with a user-displayable message for release notes. This command should be run from the root of the repository. ```bash change "hello world!" ``` -------------------------------- ### Generate Dokka Documentation Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Run this Gradle task to generate Dokka documentation for the generativeai project. The documentation will be found in 'generativeai/build/dokka/html'. ```bash ./gradlew generativeai:dokkaHtml ``` -------------------------------- ### Add API Key to local.properties Source: https://github.com/google/generative-ai-android/blob/main/generativeai-android-sample/README.md Add your API Key to the `local.properties` file in the specified format. ```txt apiKey=YOUR_API_KEY ``` -------------------------------- ### Publish M2 Repo Locally Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Execute this Gradle task to locally publish the m2 repository for testing. ```bash ./gradlew publishToMavenLocal ``` -------------------------------- ### Create Changelog Entry for Specific Project Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Prefix the 'change' command with the project name to generate a change specifically for that project, such as 'generativeai'. ```bash change generativeai "hello world!" ``` -------------------------------- ### Create Empty Changelog Entry Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Run the 'change' script without a message to create a changelog entry that will not appear in the release notes. ```bash change ``` -------------------------------- ### Generate Releasable M2 Repo Source: https://github.com/google/generative-ai-android/blob/main/DEVELOPING.md Use this Gradle task to generate a releasable m2 repository, which will be located in the '/m2' directory. ```bash ./gradlew publishAllPublicationsToMavenRepository ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.