Skip to content

Commit d7fcb93

Browse files
committed
ci: add python script to remove fdc
1 parent a2e39b7 commit d7fcb93

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
uses: gradle/gradle-build-action@v2
1919
- name: Check Snippets
2020
run: python scripts/checksnippets.py
21+
# TODO(thatfiredev): remove this once github.com/firebase/quickstart-android/issues/1672 is fixed
22+
- name: Remove Firebase Data Connect from CI
23+
run: python scripts/ci_remove_fdc.py
2124
- name: Copy mock google_services.json
2225
run: ./copy_mock_google_services_json.sh
2326
- name: Build with Gradle (Pull Request)

scripts/ci_remove_fdc.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# TODO(thatfiredev): remove this once github.com/firebase/quickstart-android/issues/1672 is fixed
2+
with open('settings.gradle.kts', 'r') as file:
3+
filedata = file.read()
4+
5+
filedata = filedata.replace('":dataconnect:app",', '')
6+
7+
with open('settings.gradle.kts', 'w') as file:
8+
file.write(filedata)

0 commit comments

Comments
 (0)