mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
dcc6d6d41c
Bump jackson-annotations from 2.13.1 to 2.13.3
90 lines
2.8 KiB
Groovy
90 lines
2.8 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
applicationId 'com.github.libretube'
|
|
minSdk 21
|
|
targetSdk 31
|
|
versionCode 11
|
|
versionName '0.3.1'
|
|
multiDexEnabled true
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
resValue "string", "app_name", "LibreTube"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
debug {
|
|
debuggable true
|
|
applicationIdSuffix ".debug"
|
|
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
|
|
reset()
|
|
include "armeabi-v7a","arm64-v8a","x86","x86_64"
|
|
universalApk false
|
|
|
|
}
|
|
}
|
|
packagingOptions {
|
|
jniLibs {
|
|
excludes += ['lib/armeabi-v7a/*_neon.so']
|
|
}
|
|
}
|
|
namespace 'com.github.libretube'
|
|
}
|
|
|
|
dependencies {
|
|
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
|
implementation 'com.google.android.material:material:1.6.0'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.8'
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.17.1'
|
|
implementation 'com.google.android.exoplayer:extension-mediasession:2.17.1'
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
|
|
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 <api26
|
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.3'
|
|
|
|
implementation 'com.arthenica:ffmpeg-kit-min:4.5.1.LTS'
|
|
|
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
|
implementation ('com.google.android.exoplayer:extension-cronet:2.17.1') { exclude group: 'com.google.android.gms' }
|
|
implementation 'org.chromium.net:cronet-embedded:101.4951.41'
|
|
|
|
}
|