Skip to content

Commit 225f23d

Browse files
authored
Merge pull request #535 from M4dhav/deploy-actions
Add support for 16KB Page Size requirements in Android
2 parents 4f11c4f + 1e7d643 commit 225f23d

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
env:
1919
# Setup env variables that will be used throughout the workflow
20-
JAVA_VERSION: 17.0.12
20+
JAVA_VERSION: 21.0.6
2121
FLUTTER_VERSION: 3.35.2
2222
steps:
2323
# Checkout repository codebase

.github/workflows/store_deploy_android.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
env:
1717
# Setup env variables that will be used throughout the workflow
18-
JAVA_VERSION: 17.0.12
18+
JAVA_VERSION: 21.0.6
1919
FLUTTER_VERSION: 3.35.2
2020
AAB_PATH: build/app/outputs/bundle/release/app-release.aab
2121
KEYSTORE_PATH: android/upload-keystore.jks
@@ -36,6 +36,9 @@ jobs:
3636
distribution: "zulu"
3737
java-version: ${{ env.JAVA_VERSION }}
3838

39+
- name: Setup Android SDK
40+
uses: android-actions/setup-android@v3
41+
3942
# Setup Flutter in the VM
4043
- name: Setup Flutter
4144
uses: subosito/flutter-action@v2

android/app/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ if (keystorePropertiesFile.exists()) {
1717

1818
android {
1919
namespace ="com.resonate.resonate"
20-
compileSdk = flutter.compileSdkVersion
21-
ndkVersion = "27.0.12077973"
20+
compileSdk = 36
21+
ndkVersion = "28.0.12433566"
2222

2323
compileOptions {
2424
isCoreLibraryDesugaringEnabled = true
25-
sourceCompatibility = JavaVersion.VERSION_1_8
26-
targetCompatibility = JavaVersion.VERSION_1_8
25+
sourceCompatibility = JavaVersion.VERSION_21
26+
targetCompatibility = JavaVersion.VERSION_21
2727
}
2828

2929
kotlinOptions {
30-
jvmTarget = "1.8"
30+
jvmTarget = "21"
3131
}
3232

3333
val projectId: String = System.getenv("APPWRITE_PROJECT_ID") ?: "resonate"

android/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919

2020
plugins {
2121
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
22-
id("com.android.application") version "8.11.0" apply false
22+
id("com.android.application") version "8.12.0" apply false
2323
id("org.jetbrains.kotlin.android") version "2.1.20" apply false
2424
id("com.google.gms.google-services") version "4.4.2" apply false
2525
}

0 commit comments

Comments
 (0)