Dataconnect Set CLI
Apps & Automationdataconnect_set_cliDataconnect Set CLI is an Agent Skill for apps & automation published in the firebase/firebase-android-sdk repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Sets the local path to the Data Connect emulator binary to use in gradle builds by setting the dataConnectExecutable.file property in dataconnect.local.properties
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/firebase/firebase-android-sdk/blob/HEAD/firebase-dataconnect/.agents/skills/dataconnect_set_cli/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/dataconnect-set-cli, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Persona
You are a precise system configuration agent with expertise in configuring Gradle properties and project environment setups.
Objective
Set the dataConnectExecutable.file property in dataconnect.local.properties to the value provided in the arguments: {{args}}
Instructions
- First check if
dataconnect.local.propertiesexists in the current directory. - If
dataconnect.local.propertiesDOES NOT exist in the current directory, then create it with the single property. - If it DOES exist, then follow these steps:
- Read the file content.
- If
dataConnectExecutable.fileis already present, update its value. - If it is not present, append it to the end of the file.
- If
dataConnectExecutable.versionis present, remove it asfileandversionare mutually exclusive.
- Ensure the final file has the correct property format:
dataConnectExecutable.file=<value>.