| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- plugins {
- id("com.android.application")
- // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
- id("dev.flutter.flutter-gradle-plugin")
- }
- // Local-only signing key. It is gitignored and shared by debug and release
- // builds so in-place updates keep the same package signature.
- val projectDebugKeystore = rootProject.file("keystore/debug.keystore")
- android {
- namespace = "com.wasp.cardash_launcher"
- compileSdk = 36
- ndkVersion = flutter.ndkVersion
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
- }
- defaultConfig {
- applicationId = "com.wasp.cardash_launcher"
- minSdk = 29
- targetSdk = 36
- versionCode = flutter.versionCode
- versionName = flutter.versionName
- }
- signingConfigs {
- getByName("debug") {
- if (projectDebugKeystore.exists()) {
- storeFile = projectDebugKeystore
- storePassword = "android"
- keyAlias = "androiddebugkey"
- keyPassword = "android"
- }
- }
- }
- buildTypes {
- release {
- // Local-only build for now. Replace with a real signing config before distribution.
- signingConfig = signingConfigs.getByName("debug")
- }
- }
- }
- kotlin {
- compilerOptions {
- jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
- }
- }
- flutter {
- source = "../.."
- }
|