71 lines
2.0 KiB
Groovy
71 lines
2.0 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
// START: FlutterFire Configuration
|
|
id 'com.google.gms.google-services'
|
|
id 'com.google.firebase.crashlytics'
|
|
// END: FlutterFire Configuration
|
|
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'
|
|
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'
|
|
}
|
|
|
|
android {
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
|
|
namespace = "dev.solsynth.solian"
|
|
compileSdk = flutter.compileSdkVersion
|
|
ndkVersion = "27.0.12077973"
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.4.8"
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_17
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId = "dev.solsynth.solian"
|
|
minSdk = 26
|
|
targetSdk = flutter.targetSdkVersion
|
|
versionCode = flutter.versionCode
|
|
versionName = flutter.versionName
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
|
|
flutter {
|
|
source = "../.."
|
|
}
|