build: Use gradle in kotlin

This commit is contained in:
Christian Kußowski 2025-07-12 07:59:18 +02:00
commit 4afd9684c9
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
22 changed files with 196 additions and 2262 deletions

View file

@ -25,8 +25,8 @@ jobs:
- name: Check license compliance
run: dart run license_checker check-licenses -c licenses.yaml --problematic
- run: flutter analyze
- name: Apply google services patch
run: git apply ./scripts/enable-android-google-services.patch
- name: Add Firebase Messaging
run: ./scripts/add-firebase-messaging.sh
- run: flutter analyze
- run: flutter test
@ -96,5 +96,7 @@ jobs:
xcode-version: latest
- run: brew install sqlcipher
- uses: moonrepo/setup-rust@v1
- name: Add Firebase Key
run: echo '${{secrets.GOOGLE_SERVICES_INFO_PLIST}}' | base64 -d > ios/Runner/GoogleService-Info.plist
- run: flutter pub get
- run: flutter build ios --no-codesign

View file

@ -56,8 +56,10 @@ jobs:
- uses: moonrepo/setup-rust@v1
- name: Install Fastlane
run: gem install fastlane -NV
- name: Apply Google Services Patch
run: git apply ./scripts/enable-android-google-services.patch
- name: Add Firebase Messaging
run: |
echo '${{secrets.GOOGLE_SERVICES_JSON}}' | base64 -d > android/app/google-services.json
./scripts/add-firebase-messaging.sh
- run: flutter pub get
- name: Prepare Android Release Build
env:

View file

@ -82,8 +82,10 @@ jobs:
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Apply Google Services Patch
run: git apply ./scripts/enable-android-google-services.patch
- name: Add Firebase Messaging
run: |
echo '${{secrets.GOOGLE_SERVICES_JSON}}' | base64 -d > android/app/google-services.json
./scripts/add-firebase-messaging.sh
- uses: moonrepo/setup-rust@v1
- run: flutter pub get
- name: Prepare Android Release Build
@ -153,8 +155,10 @@ jobs:
- name: Install Fastlane
working-directory: android
run: gem install fastlane -NV
- name: Apply Google Services Patch
run: git apply ./scripts/enable-android-google-services.patch
- name: Add Firebase Messaging
run: |
echo '${{secrets.GOOGLE_SERVICES_JSON}}' | base64 -d > android/app/google-services.json
./scripts/add-firebase-messaging.sh
- run: flutter pub get
- name: Prepare Android Release Build
env: