|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.frank.ffmpeg"
|
|
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
|
|
versionCode rootProject.ext.versionCode
|
|
|
|
versionName rootProject.ext.versionName
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ndk {
|
|
|
|
abiFilters "armeabi-v7a", "arm64-v8a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "CMakeLists.txt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['libs']
|
|
|
|
jni.srcDirs = []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
useLibrary "org.apache.http.legacy"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation "androidx.appcompat:appcompat:$rootProject.appcompatVersion"
|
|
|
|
implementation "androidx.recyclerview:recyclerview:$rootProject.recyclerviewVersion"
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
implementation project(':Live')
|
|
|
|
}
|