android build file

This commit is contained in:
DASHU
2024-09-20 16:11:11 +08:00
parent 1ededee946
commit 8e383dfa00

View File

@@ -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()) {
@@ -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
}
}
}