trcr/android/app/build.gradle.kts

52 lines
1.6 KiB
Text
Raw Normal View History

2025-05-04 17:47:47 -07:00
plugins {
id("com.android.application")
2025-05-10 07:42:54 -07:00
// START: FlutterFire Configuration
id("com.google.gms.google-services")
2025-05-10 07:48:38 -07:00
id("com.google.firebase.crashlytics")
2025-05-10 07:42:54 -07:00
// END: FlutterFire Configuration
2025-05-04 17:47:47 -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")
}
2025-05-09 22:15:27 -07:00
val backgroundGeolocation = project(":flutter_background_geolocation")
apply { from("${backgroundGeolocation.projectDir}/background_geolocation.gradle") }
2025-05-04 17:47:47 -07:00
android {
2025-05-11 12:24:58 -07:00
namespace = "org.traccar.client"
2025-05-04 17:47:47 -07:00
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
defaultConfig {
2025-05-09 22:15:27 -07:00
applicationId = "org.traccar.client"
2025-05-04 17:47:47 -07:00
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
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.getByName("debug")
2025-05-09 22:15:27 -07:00
isShrinkResources = false
2025-05-04 17:47:47 -07:00
}
}
}
flutter {
source = "../.."
}