Surface/android/app/build.gradle

71 lines
2.0 KiB
Groovy
Raw Normal View History

2024-11-08 16:09:46 +00:00
plugins {
id "com.android.application"
2024-11-20 16:18:11 +00:00
// START: FlutterFire Configuration
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
// END: FlutterFire Configuration
2024-11-08 16:09:46 +00:00
id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}
dependencies {
implementation "androidx.glance:glance:1.1.1"
implementation "androidx.glance:glance-appwidget:1.1.1"
implementation 'androidx.compose.foundation:foundation-layout-android:1.7.6'
2024-12-15 10:23:12 +00:00
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'io.coil-kt.coil3:coil-compose:3.0.4'
implementation 'io.coil-kt.coil3:coil-network-okhttp:3.0.4'
}
2024-11-08 16:09:46 +00:00
android {
buildFeatures {
compose true
}
2024-11-08 16:09:46 +00:00
namespace = "dev.solsynth.solian"
compileSdk = flutter.compileSdkVersion
2024-11-24 02:54:55 +00:00
ndkVersion = "27.0.12077973"
2024-11-08 16:09:46 +00:00
compileOptions {
2024-12-15 10:23:12 +00:00
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.8"
2024-11-08 16:09:46 +00:00
}
kotlinOptions {
2024-11-23 16:22:08 +00:00
jvmTarget = JavaVersion.VERSION_17
2024-11-08 16:09:46 +00:00
}
defaultConfig {
applicationId = "dev.solsynth.solian"
2024-12-15 10:23:12 +00:00
minSdk = 26
2024-11-08 16:09:46 +00:00
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
buildTypes {
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
2024-11-08 16:09:46 +00:00
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.debug
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2024-11-08 16:09:46 +00:00
}
}
}
flutter {
source = "../.."
}