2024-08-04 16:20:36 -07:00
|
|
|
plugins {
|
|
|
|
|
id "com.android.application"
|
2024-08-13 00:03:53 -07:00
|
|
|
// START: FlutterFire Configuration
|
|
|
|
|
id 'com.google.gms.google-services'
|
|
|
|
|
id 'com.google.firebase.firebase-perf'
|
|
|
|
|
id 'com.google.firebase.crashlytics'
|
|
|
|
|
// END: FlutterFire Configuration
|
2024-08-04 16:20:36 -07:00
|
|
|
id "kotlin-android"
|
|
|
|
|
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
|
|
|
|
id "dev.flutter.flutter-gradle-plugin"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
|
def keystorePropertiesFile = rootProject.file("key.properties")
|
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
namespace = "com.tommychow.frosty"
|
|
|
|
|
compileSdk = flutter.compileSdkVersion
|
|
|
|
|
ndkVersion = flutter.ndkVersion
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-09 20:12:19 -07:00
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-04 16:20:36 -07:00
|
|
|
defaultConfig {
|
|
|
|
|
applicationId = "com.tommychow.frosty"
|
|
|
|
|
// You can update the following values to match your application needs.
|
2024-08-09 20:12:19 -07:00
|
|
|
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
2024-08-04 16:20:36 -07:00
|
|
|
minSdk = flutter.minSdkVersion
|
|
|
|
|
targetSdk = flutter.targetSdkVersion
|
2024-08-09 20:12:19 -07:00
|
|
|
versionCode = flutter.versionCode
|
|
|
|
|
versionName = flutter.versionName
|
2024-08-04 16:20:36 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
|
release {
|
|
|
|
|
keyAlias keystoreProperties["keyAlias"]
|
|
|
|
|
keyPassword keystoreProperties["keyPassword"]
|
|
|
|
|
storeFile keystoreProperties["storeFile"] ? file(keystoreProperties["storeFile"]) : null
|
|
|
|
|
storePassword keystoreProperties["storePassword"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
flutter {
|
|
|
|
|
source = "../.."
|
|
|
|
|
}
|