LibreTube/app/build.gradle

89 lines
2.4 KiB
Groovy
Raw Normal View History

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-06-17 13:19:31 +05:30
versionCode 12
versionName '0.3.2'
multiDexEnabled true
2021-12-09 18:31:47 +05:30
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
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'
}
2022-02-15 01:42:10 +05:30
debug {
debuggable true
applicationIdSuffix ".debug"
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()
2022-06-07 12:22:11 +05:30
include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
2022-02-27 23:21:17 +05:30
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 {
//debugImplementation libs.square.leakcanary
2022-02-05 22:40:43 +05:30
implementation libs.androidx.appcompat
implementation libs.androidx.constraintlayout
implementation libs.androidx.legacySupport
implementation libs.androidx.multidex
implementation libs.androidx.navigation.fragment
implementation libs.androidx.navigation.ui
implementation libs.androidx.preference
2021-12-18 16:34:14 +05:30
androidTestImplementation libs.androidx.test.junit
androidTestImplementation libs.androidx.test.espressoCore
2021-12-18 16:34:14 +05:30
implementation libs.circleimageview
implementation libs.material
implementation libs.exoplayer
implementation(libs.exoplayer.extension.cronet) { exclude group: 'com.google.android.gms' }
implementation libs.exoplayer.extension.mediasession
2022-02-26 22:49:42 +05:30
implementation libs.square.picasso
implementation libs.square.retrofit
implementation libs.square.retrofit.converterJackson
// Do not update jackson annotations! It does not supports < API 26.
implementation libs.jacksonAnnotations
2022-03-16 19:02:42 +05:30
implementation libs.mobileffmpeg
coreLibraryDesugaring libs.desugaring
implementation libs.cronet.embedded
}