Skip to main content

dataconnect-set-cli

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

معلومات المصدر

المستودع
firebase/firebase-android-sdk
آخر نشاط في المصدر
٢٠ مايو ٢٠٢٦ في ١٥:٠٦
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢٬٥٨١
التفرعات
٧٢٧

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
dataconnect_set_cli
description
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
# 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>`.
عرض على GitHub