mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 09:04:32 +01:00
Desugaring Enabled for Lower Android Api support
This commit is contained in:
parent
1f5a962ddb
commit
638fa31415
@ -41,6 +41,7 @@ android {
|
||||
versionCode = Versions.versionCode
|
||||
versionName = Versions.versionName
|
||||
}
|
||||
buildToolsVersion = "30.0.3"
|
||||
|
||||
buildTypes {
|
||||
getByName("release") {
|
||||
@ -49,10 +50,13 @@ android {
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
}
|
||||
}
|
||||
kotlinOptions.useIR = true
|
||||
kotlinOptions {
|
||||
useIR = true
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
compileOptions {
|
||||
// Flag to enable support for the new language APIs
|
||||
//coreLibraryDesugaringEnabled = true
|
||||
coreLibraryDesugaringEnabled = true
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
@ -68,14 +72,6 @@ android {
|
||||
packagingOptions {
|
||||
exclude("META-INF/*")
|
||||
}
|
||||
buildToolsVersion = "30.0.3"
|
||||
/*buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
useIR = true
|
||||
}*/
|
||||
}
|
||||
dependencies {
|
||||
implementation(compose.material)
|
||||
|
@ -137,7 +137,7 @@ object Ktor {
|
||||
|
||||
object Extras {
|
||||
//const val youtubeDownloader = "com.github.sealedtx:java-youtube-downloader:2.5.1"
|
||||
const val youtubeDownloader = "com.shabinder.downloader:youtube-api-dl:0.1-SNAPSHOT" //Local Maven
|
||||
const val youtubeDownloader = "com.shabinder.downloader:youtube-api-dl:0.1" //Local Maven
|
||||
const val fuzzyWuzzy = "me.xdrop:fuzzywuzzy:1.3.1"
|
||||
const val mp3agic = "com.mpatric:mp3agic:0.9.1"
|
||||
const val kermit = "co.touchlab:kermit:${Versions.kermit}"
|
||||
|
Loading…
Reference in New Issue
Block a user