ffmpeg-kit/tools/android/build.lts.gradle

57 lines
1.4 KiB
Groovy
Raw Normal View History

2020-08-05 03:53:02 +03:00
apply plugin: 'com.android.library'
android {
2022-09-16 20:45:43 +03:00
namespace 'com.arthenica.ffmpegkit'
2023-08-03 08:32:35 +03:00
compileSdk 33
ndkVersion "22.1.7171670"
2020-08-05 03:53:02 +03:00
defaultConfig {
2022-09-16 20:45:43 +03:00
minSdk 16
2023-08-03 08:32:35 +03:00
targetSdk 33
versionCode 160600
versionName "6.0.LTS"
2020-08-05 03:53:02 +03:00
project.archivesBaseName = "ffmpeg-kit"
2022-09-16 20:45:43 +03:00
consumerProguardFiles "consumer-rules.pro"
2020-08-05 03:53:02 +03:00
}
buildTypes {
release {
minifyEnabled false
2022-09-16 20:45:43 +03:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2020-08-05 03:53:02 +03:00
}
}
2022-09-16 20:45:43 +03:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2020-08-05 03:53:02 +03:00
sourceSets {
main {
jniLibs.srcDirs = ["../libs"]
}
}
testOptions {
unitTests.returnDefaultValues = true
unitTests.all {
systemProperty 'enable.ffmpeg.kit.test.mode', 'true'
}
2020-08-05 03:53:02 +03:00
}
}
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
2021-03-02 01:25:17 +02:00
configurations.implementation.setCanBeResolved(true)
classpath += configurations.implementation
2020-08-05 03:53:02 +03:00
}
dependencies {
2022-09-30 00:26:40 +03:00
api 'com.arthenica:smart-exception-java:0.2.1'
testImplementation "androidx.test.ext:junit:1.1.3"
2022-09-16 20:45:43 +03:00
testImplementation 'org.json:json:20220320'
2021-02-28 15:43:12 +02:00
}