smartfarming-mobile/agrilink_vocpro/android/app/build.gradle

56 lines
1.7 KiB
Groovy
Raw Normal View History

2024-09-05 03:46:07 +00:00
plugins {
id "com.android.application"
2024-10-23 01:18:30 +00:00
// START: FlutterFire Configuration
id 'com.google.gms.google-services'
// END: FlutterFire Configuration
2024-09-05 03:46:07 +00:00
id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}
android {
2024-09-09 04:24:00 +00:00
namespace = "com.pis.agrilink_vocpro"
2024-09-05 03:46:07 +00:00
compileSdk = flutter.compileSdkVersion
2024-12-12 02:33:15 +00:00
ndkVersion = "27.0.12077973"
2024-09-05 03:46:07 +00:00
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
2024-09-09 04:24:00 +00:00
applicationId = "com.pis.agrilink_vocpro"
2024-09-05 03:46:07 +00:00
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
2024-10-23 01:18:30 +00:00
minSdk = 21
2024-09-05 03:46:07 +00:00
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
signingConfigs {
release {
keyAlias 'agrilink-upload'
keyPassword '100403'
storeFile file('D:/Code/real_project/flutter/mobile-smartfarming/upload-keystore.jks')
storePassword '100403'
}
}
2024-09-05 03:46:07 +00:00
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled true // You can set to true for release builds
shrinkResources true // Set to true if minify is true
2024-09-05 03:46:07 +00:00
}
}
}
flutter {
source = "../.."
}