build.gradle.kts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id("com.android.application")
  3. // START: FlutterFire Configuration
  4. id("com.google.gms.google-services")
  5. // END: FlutterFire Configuration
  6. id("kotlin-android")
  7. // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
  8. id("dev.flutter.flutter-gradle-plugin")
  9. }
  10. android {
  11. namespace = "jigsort.solitaire.jigsaw.match.games"
  12. // compileSdk = flutter.compileSdkVersion
  13. // ndkVersion = flutter.ndkVersion
  14. compileSdk = 36
  15. ndkVersion = "27.0.12077973"
  16. compileOptions {
  17. sourceCompatibility = JavaVersion.VERSION_11
  18. targetCompatibility = JavaVersion.VERSION_11
  19. }
  20. kotlinOptions {
  21. jvmTarget = JavaVersion.VERSION_11.toString()
  22. }
  23. defaultConfig {
  24. // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
  25. applicationId = "jigsort.solitaire.jigsaw.match.games"
  26. // You can update the following values to match your application needs.
  27. // For more information, see: https://flutter.dev/to/review-gradle-config.
  28. // minSdk = flutter.minSdkVersion
  29. minSdk = 23
  30. targetSdk = flutter.targetSdkVersion
  31. versionCode = flutter.versionCode
  32. versionName = flutter.versionName
  33. }
  34. buildTypes {
  35. release {
  36. // TODO: Add your own signing config for the release build.
  37. // Signing with the debug keys for now, so `flutter run --release` works.
  38. signingConfig = signingConfigs.getByName("debug")
  39. }
  40. }
  41. }
  42. flutter {
  43. source = "../.."
  44. }