SpotiFlyer/ffmpeg/android-ffmpeg/build.gradle.kts

51 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2021-09-02 07:42:30 +02:00
plugins {
id("com.android.library")
id("kotlin-android")
}
android {
//ndkVersion "22.0.7026061"
compileSdk = Versions.compileSdkVersion
buildToolsVersion = "30.0.3"
defaultConfig {
consumerProguardFile("proguard-rules.pro")
minSdk = Versions.minSdkVersion
targetSdk = Versions.targetSdkVersion
2021-09-02 13:03:28 +02:00
/*ndk {
2021-09-02 07:42:30 +02:00
abiFilters.addAll(setOf("x86", "x86_64", "armeabi-v7a", "arm64-v8a"))
2021-09-02 13:03:28 +02:00
}*/
2021-09-02 07:42:30 +02:00
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
packagingOptions {
resources {
excludes.apply {
add("META-INF/*")
}
jniLibs.pickFirsts.apply {
add("**/*.so")
}
}
}
}
2021-09-02 13:03:28 +02:00
dependencies { /**/ }