Skip to content

Commit 9dc410a

Browse files
committed
Fix android build
1 parent 0cbc32a commit 9dc410a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ jobs:
361361
- uses: subosito/[email protected]
362362
with:
363363
flutter-version-file: app/pubspec.yaml
364-
- uses: actions/setup-python@v5
364+
- uses: actions/setup-python@v6
365365
with:
366366
python-version: "3.13"
367367
- name: ✅ Enable platforms
@@ -378,7 +378,7 @@ jobs:
378378
working-directory: app/build/macos/Build/Products/Release
379379
run: zip --symlinks -qr linwood-flow-macos.zip flow.app
380380
- name: Setup node
381-
uses: actions/setup-node@v4
381+
uses: actions/setup-node@v5
382382
with:
383383
node-version: 24
384384
- name: Install appdmg

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
package_json_file: docs/package.json
2222
- name: Use Node.js
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v5
2424
with:
2525
node-version: 24
2626
cache: "pnpm"

app/android/app/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ android {
2222
compileOptions {
2323
sourceCompatibility = JavaVersion.VERSION_11
2424
targetCompatibility = JavaVersion.VERSION_11
25+
isCoreLibraryDesugaringEnabled = true
2526
}
2627

2728
kotlinOptions {
@@ -55,6 +56,7 @@ android {
5556
targetSdk = flutter.targetSdkVersion
5657
versionCode = flutter.versionCode
5758
versionName = flutter.versionName
59+
multiDexEnabled = true
5860
}
5961

6062
signingConfigs {
@@ -84,6 +86,10 @@ android {
8486
}
8587
}
8688

89+
dependencies {
90+
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
91+
}
92+
8793
flutter {
8894
source = "../.."
8995
}

0 commit comments

Comments
 (0)