You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FFmpeg-Invoker/library/build.gradle

67 lines
1.8 KiB

apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
apply from: rootProject.file("secret.gradle")
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
externalNativeBuild {
cmake {
cppFlags ""
abiFilters "armeabi-v7a", "arm64-v8a", "x86"
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version "3.10.2"
}
}
ndkVersion = "21.0.5935234"
sourceSets.main {
jniLibs.srcDir 'libs'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
publish {
userOrg = 'xch168' // bintray.com用户名
groupId = 'com.github.xch168' // jcenter上的路径
artifactId = 'FFmpeg-Invoker' // 项目名称
publishVersion = '0.0.1' // 版本号
desc = 'Invoker ffmpeg on Android' // 描述
website = 'https://github.com/xch168/FFmpeg-Invoker' // 项目地址
bintrayUser = bintray_user // bintray.com的用户名
bintrayKey = bintray_key // bintray.com的API key
}