2021-12-09 18:01:40 +05:30
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdk 31
|
|
|
|
|
|
|
|
defaultConfig {
|
2022-02-01 21:22:06 +05:30
|
|
|
applicationId 'com.github.libretube'
|
2022-02-27 00:27:05 +05:30
|
|
|
minSdk 21
|
2021-12-09 18:01:40 +05:30
|
|
|
targetSdk 31
|
2022-05-07 00:25:49 +05:30
|
|
|
versionCode 9
|
|
|
|
versionName '0.2.7'
|
2021-12-12 17:38:23 +05:30
|
|
|
multiDexEnabled true
|
2021-12-09 18:31:47 +05:30
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
2022-02-17 00:19:36 +05:30
|
|
|
resValue "string", "app_name", "LibreTube"
|
2021-12-09 18:01:40 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2022-02-27 23:21:17 +05:30
|
|
|
minifyEnabled true
|
2021-12-09 18:01:40 +05:30
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2021-12-12 17:38:23 +05:30
|
|
|
|
2022-02-15 01:42:10 +05:30
|
|
|
debug {
|
|
|
|
debuggable true
|
|
|
|
applicationIdSuffix ".debug"
|
2022-02-17 00:19:36 +05:30
|
|
|
resValue "string", "app_name", "LibreTube Debug"
|
2022-02-15 01:42:10 +05:30
|
|
|
}
|
2021-12-09 18:01:40 +05:30
|
|
|
}
|
|
|
|
compileOptions {
|
2022-04-16 11:51:50 +05:30
|
|
|
coreLibraryDesugaringEnabled true
|
2021-12-09 18:01:40 +05:30
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2022-02-27 23:21:17 +05:30
|
|
|
splits {
|
|
|
|
abi {
|
|
|
|
enable true
|
|
|
|
reset()
|
|
|
|
include "armeabi-v7a","arm64-v8a","x86","x86_64"
|
|
|
|
universalApk false
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
packagingOptions {
|
2022-04-15 11:45:17 +05:30
|
|
|
jniLibs {
|
|
|
|
excludes += ['lib/armeabi-v7a/*_neon.so']
|
|
|
|
}
|
2022-02-27 23:21:17 +05:30
|
|
|
}
|
2022-05-12 21:49:52 +05:30
|
|
|
namespace 'com.github.libretube'
|
2021-12-09 18:01:40 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-03-03 12:08:36 +05:30
|
|
|
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
|
2022-02-05 22:40:43 +05:30
|
|
|
|
2022-02-03 15:35:37 +05:30
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
2022-04-15 11:45:17 +05:30
|
|
|
implementation 'com.google.android.material:material:1.6.0-beta01'
|
|
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
|
|
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'
|
2021-12-09 18:31:47 +05:30
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2022-02-15 01:41:52 +05:30
|
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
2021-12-18 16:34:14 +05:30
|
|
|
|
2021-12-09 18:31:47 +05:30
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2021-12-18 16:34:14 +05:30
|
|
|
|
2021-12-11 19:27:16 +05:30
|
|
|
implementation 'com.squareup.picasso:picasso:2.8'
|
|
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
2022-03-16 22:02:34 +05:30
|
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.17.1'
|
2021-12-16 03:39:24 +05:30
|
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
2021-12-12 17:38:23 +05:30
|
|
|
|
2021-12-18 16:34:14 +05:30
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
|
2022-03-29 21:07:52 +05:30
|
|
|
//do not update jackson annotations! it does not supports <api26
|
2022-03-29 15:45:51 +05:30
|
|
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.1'
|
2022-02-26 22:49:42 +05:30
|
|
|
|
2022-03-03 12:08:36 +05:30
|
|
|
implementation 'com.arthenica:ffmpeg-kit-min:4.5.1.LTS'
|
2022-03-16 19:02:42 +05:30
|
|
|
|
2022-04-17 18:44:06 +05:30
|
|
|
|
2022-04-17 21:05:45 +05:30
|
|
|
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' }
|
2022-04-15 12:08:53 +05:30
|
|
|
implementation 'org.chromium.net:cronet-embedded:98.4758.101'
|
|
|
|
|
2021-12-09 18:01:40 +05:30
|
|
|
}
|