diff --git a/android/app/build.gradle b/android/app/build.gradle index 8a2bf85..18c117a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -21,6 +21,13 @@ if (flutterVersionName == null) { 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: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"