build.gradle 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. plugins {
  2. id "com.android.application"
  3. id "kotlin-android"
  4. // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
  5. id "dev.flutter.flutter-gradle-plugin"
  6. id "com.google.gms.google-services"
  7. }
  8. android {
  9. namespace = "com.datacomsolusindo.telnow2.telnow_mobile2"
  10. compileSdk = flutter.compileSdkVersion
  11. ndkVersion = flutter.ndkVersion
  12. compileOptions {
  13. coreLibraryDesugaringEnabled true
  14. sourceCompatibility = JavaVersion.VERSION_1_8
  15. targetCompatibility = JavaVersion.VERSION_1_8
  16. }
  17. kotlinOptions {
  18. jvmTarget = JavaVersion.VERSION_1_8
  19. }
  20. defaultConfig {
  21. // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
  22. applicationId = "com.datacomsolusindo.telnow2.telnow_mobile2"
  23. // You can update the following values to match your application needs.
  24. // For more information, see: https://flutter.dev/to/review-gradle-config.
  25. minSdk = 23
  26. targetSdk = flutter.targetSdkVersion
  27. versionCode = flutter.versionCode
  28. versionName = flutter.versionName
  29. ndkVersion "25.1.8937393"
  30. }
  31. buildTypes {
  32. release {
  33. // TODO: Add your own signing config for the release build.
  34. // Signing with the debug keys for now, so `flutter run --release` works.
  35. signingConfig = signingConfigs.debug
  36. }
  37. }
  38. }
  39. flutter {
  40. source = "../.."
  41. }
  42. dependencies{
  43. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
  44. implementation('com.google.firebase:firebase-auth') {
  45. exclude module: "play-services-safetynet"
  46. }
  47. }