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"
|
|
|
|
}
|
|
|
|
|
2024-12-15 09:11:19 +00:00
|
|
|
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'
|
2024-12-15 10:57:54 +00:00
|
|
|
implementation 'io.coil-kt.coil3:coil-compose:3.0.4'
|
|
|
|
implementation 'io.coil-kt.coil3:coil-network-okhttp:3.0.4'
|
2024-12-15 09:11:19 +00:00
|
|
|
}
|
|
|
|
|
2024-11-08 16:09:46 +00:00
|
|
|
android {
|
2024-12-15 09:11:19 +00:00
|
|
|
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 {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
flutter {
|
|
|
|
source = "../.."
|
|
|
|
}
|