OpenParable
Skip to content
← Back to skills

Dataconnect Set CLI

Apps & Automation
dataconnect_set_cli

Dataconnect 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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
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

  1. First check if dataconnect.local.properties exists in the current directory.
  2. If dataconnect.local.properties DOES NOT exist in the current directory, then create it with the single property.
  3. If it DOES exist, then follow these steps:
    1. Read the file content.
    2. If dataConnectExecutable.file is already present, update its value.
    3. If it is not present, append it to the end of the file.
    4. If dataConnectExecutable.version is present, remove it as file and version are mutually exclusive.
  4. Ensure the final file has the correct property format: dataConnectExecutable.file=<value>.