mirror of
https://github.com/videolan/vlc-android
synced 2024-12-12 03:07:05 +08:00
52 lines
1.3 KiB
Groovy
52 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
|
|
packagingOptions {
|
|
jniLibs {
|
|
pickFirsts += ['**/*.so']
|
|
}
|
|
}
|
|
|
|
viewBinding.enabled = true
|
|
|
|
dataBinding.enabled = true
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
compileSdk rootProject.ext.compileSdkVersion
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
dev {
|
|
initWith debug
|
|
matchingFallbacks = ['debug']
|
|
}
|
|
vlcBundle {
|
|
initWith release
|
|
matchingFallbacks = ['release']
|
|
}
|
|
}
|
|
namespace 'org.videolan.television'
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':application:vlc-android')
|
|
api project(':application:moviepedia')
|
|
testImplementation "androidx.test:core:$rootProject.ext.testCore"
|
|
androidTestImplementation "androidx.test.ext:junit:$rootProject.ext.junitExtVersion"
|
|
implementation 'com.jaredrummler:colorpicker:1.1.0'
|
|
}
|