diff --git a/app/build.gradle b/app/build.gradle index 969e97e7a..09780f3a8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -29,14 +29,17 @@ android { resValue "string", "app_name", "LibreTube Debug" } } + compileOptions { coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + kotlinOptions { jvmTarget = '1.8' } + splits { abi { enable true @@ -46,11 +49,13 @@ android { } } + packagingOptions { jniLibs { excludes += ['lib/armeabi-v7a/*_neon.so'] } } + namespace 'com.github.libretube' } @@ -76,14 +81,12 @@ dependencies { implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-jackson:2.9.0' - //do not update jackson annotations! it does not supports