diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 53978238..0d546dd0 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -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) diff --git a/buildSrc/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/buildSrc/src/main/kotlin/Versions.kt index 8335b0b7..e17cfce8 100644 --- a/buildSrc/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/buildSrc/src/main/kotlin/Versions.kt @@ -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}"