mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
78 lines
2.4 KiB
Groovy
78 lines
2.4 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
applicationId 'com.github.libretube'
|
|
minSdk 21
|
|
targetSdk 31
|
|
versionCode 5
|
|
versionName '0.2.3'
|
|
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 {
|
|
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 {
|
|
exclude 'lib/armeabi-v7a/*_neon.so'
|
|
}
|
|
}
|
|
|
|
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-alpha02'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.4.1'
|
|
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 'androidx.multidex:multidex:2.0.1'
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
|
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.2'
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
|
|
|
|
implementation 'com.arthenica:ffmpeg-kit-min:4.5.1.LTS'
|
|
} |