|
|
@ -22,6 +22,12 @@ if (flutterVersionName == null) {
|
|
|
|
flutterVersionName = '1.0'
|
|
|
|
flutterVersionName = '1.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
|
|
|
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
|
|
|
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
@ -57,6 +63,14 @@ android {
|
|
|
|
versionName flutterVersionName
|
|
|
|
versionName flutterVersionName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
|
|
|
|
release {
|
|
|
|
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
|
|
|
|
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
|
|
|
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
release {
|
|
|
|
// TODO: Add your own signing config for the release build.
|
|
|
|
// TODO: Add your own signing config for the release build.
|
|
|
|