| | |
| | | if (flutterVersionName == null) { |
| | | flutterVersionName = '1.0' |
| | | } |
| | | //key |
| | | def keystorePropertiesFile = rootProject.file("key.properties") |
| | | def keystoreProperties = new Properties() |
| | | keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) |
| | | |
| | | apply plugin: 'com.android.application' |
| | | apply plugin: 'kotlin-android' |
| | |
| | | |
| | | defaultConfig { |
| | | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). |
| | | applicationId "com.example.location" |
| | | applicationId "com.yeshi.location" |
| | | minSdkVersion 16 |
| | | targetSdkVersion 30 |
| | | versionCode flutterVersionCode.toInteger() |
| | | 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 |
| | | } |
| | | } |
| | | } |