| 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 | } |
| 7 | |
| 8 | android { |
| 9 | namespace = "com.splashygba.splashy_gba" |
| 10 | compileSdk = flutter.compileSdkVersion |
| 11 | ndkVersion = flutter.ndkVersion |
| 12 | |
| 13 | compileOptions { |
| 14 | sourceCompatibility = JavaVersion.VERSION_11 |
| 15 | targetCompatibility = JavaVersion.VERSION_11 |
| 16 | } |
| 17 | |
| 18 | kotlinOptions { |
| 19 | jvmTarget = JavaVersion.VERSION_11.toString() |
| 20 | } |
| 21 | |
| 22 | defaultConfig { |
| 23 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). |
| 24 | applicationId = "com.splashygba.splashy_gba" |
| 25 | // You can update the following values to match your application needs. |
| 26 | // For more information, see: https://flutter.dev/to/review-gradle-config. |
| 27 | minSdk = flutter.minSdkVersion |
| 28 | targetSdk = flutter.targetSdkVersion |
| 29 | versionCode = flutter.versionCode |
| 30 | versionName = flutter.versionName |
| 31 | } |
| 32 | |
| 33 | buildTypes { |
| 34 | release { |
| 35 | // TODO: Add your own signing config for the release build. |
| 36 | // Signing with the debug keys for now, so `flutter run --release` works. |
| 37 | signingConfig = signingConfigs.getByName("debug") |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | flutter { |
| 43 | source = "../.." |
| 44 | } |