|
|
|
@ -25,6 +25,12 @@ apply plugin: 'com.android.application'
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
|
|
|
|
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdkVersion 28
|
|
|
|
|
|
|
|
|
@ -37,7 +43,6 @@ android {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
|
|
|
|
applicationId "chat.fluffy.fluffychat"
|
|
|
|
|
minSdkVersion 16
|
|
|
|
|
targetSdkVersion 28
|
|
|
|
@ -46,11 +51,21 @@ android {
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
minifyEnabled true
|
|
|
|
|
useProguard true
|
|
|
|
|
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|