Skip to content

Commit 65fbd70

Browse files
committed
feat: update project to latest android APIs
1 parent f64d39a commit 65fbd70

File tree

5 files changed

+91
-82
lines changed

5 files changed

+91
-82
lines changed

android/app/build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ android {
3535
compileSdk flutter.compileSdkVersion
3636
ndkVersion flutter.ndkVersion
3737

38+
signingConfigs {
39+
release {
40+
keyAlias = keystoreProperties['keyAlias']
41+
keyPassword = keystoreProperties['keyPassword']
42+
storeFile = keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
43+
storePassword = keystoreProperties['storePassword']
44+
}
45+
}
46+
3847
compileOptions {
3948
sourceCompatibility JavaVersion.VERSION_1_8
4049
targetCompatibility JavaVersion.VERSION_1_8
@@ -63,7 +72,7 @@ android {
6372

6473
buildTypes {
6574
release {
66-
signingConfig signingConfigs.debug
75+
signingConfig signingConfigs.release
6776
minifyEnabled true
6877
shrinkResources true
6978
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
distributionBase=GRADLE_USER_HOME
1+
`distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip

android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pluginManagement {
1919

2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "8.2.0" apply false
23-
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
22+
id "com.android.application" version '8.13.2' apply false
23+
id "org.jetbrains.kotlin.android" version "2.3.0" apply false
2424
}
2525

2626
include ":app"

0 commit comments

Comments
 (0)