Update: 2026-07-30 02:27:45
This commit is contained in:
@@ -26,6 +26,9 @@ android {
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
// flutter_local_notifications uses java.time APIs that need desugaring
|
||||
// to run on our minSdk of 24.
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
@@ -77,3 +80,10 @@ android {
|
||||
flutter {
|
||||
source = "../.."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Required by isCoreLibraryDesugaringEnabled above.
|
||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
|
||||
// NotificationCompat / NotificationManagerCompat used by MainActivity.
|
||||
implementation("androidx.core:core-ktx:1.15.0")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user