2020-08-05 03:53:02 +03:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
|
|
|
ndkVersion "21.3.6528147"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 24
|
|
|
|
targetSdkVersion 30
|
|
|
|
versionCode 240440
|
|
|
|
versionName "4.4"
|
|
|
|
project.archivesBaseName = "ffmpeg-kit"
|
|
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ["../libs"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
unitTests.returnDefaultValues = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task javadoc(type: Javadoc) {
|
|
|
|
title = 'FFmpegKit'
|
|
|
|
destinationDir = file("${projectDir}/../../docs/android/javadoc")
|
|
|
|
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
|
|
|
|
source = android.sourceSets.main.java.srcDirs
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-01-11 03:09:39 +02:00
|
|
|
implementation 'com.arthenica:smart-exception-java:0.1.0'
|
2021-01-10 12:30:24 +02:00
|
|
|
testImplementation "androidx.test.ext:junit:1.1.2"
|
2020-08-05 03:53:02 +03:00
|
|
|
testImplementation "org.json:json:20190722"
|
|
|
|
}
|