From 38e6cf10db5d0603498d337f4f8c54b0c6714fe9 Mon Sep 17 00:00:00 2001 From: commandiron Date: Sun, 25 Dec 2022 15:25:11 +0300 Subject: [PATCH] -fix compatibility, min sdk 26 to 21 --- app/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index be66152..2b50d44 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,6 +26,7 @@ android { } } compileOptions { + coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } @@ -61,5 +62,6 @@ dependencies { debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version" implementation project(':wheel-picker-compose') + coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.6" // implementation 'com.github.commandiron:WheelPickerCompose:1.0.9' } \ No newline at end of file