Skip to content

Commit

Permalink
android build file
Browse files Browse the repository at this point in the history
  • Loading branch information
haorendashu committed Sep 20, 2024
1 parent 1ededee commit 8e383df
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ plugins {
id "dev.flutter.flutter-gradle-plugin"
}

// def keystorePropertiesFile = rootProject.file("key.properties")
// def keystoreProperties = new Properties()
// keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

def localProperties = new Properties()
def localPropertiesFile = rootProject.file("local.properties")
if (localPropertiesFile.exists()) {
Expand Down Expand Up @@ -44,11 +48,21 @@ android {
versionName = flutterVersionName
}

// signingConfigs {
// release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']
// }
// }

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.debug
// signingConfig signingConfigs.release
}
}
}
Expand Down

0 comments on commit 8e383df

Please sign in to comment.