parent
3a752ba728
commit
8fdb3671f3
@ -1,65 +0,0 @@ |
|||||||
apply plugin: 'com.android.library' |
|
||||||
|
|
||||||
android { |
|
||||||
if (project.android.hasProperty("namespace")) { |
|
||||||
namespace 'com.arthenica.ffmpegkit' |
|
||||||
} |
|
||||||
compileSdk 34 |
|
||||||
ndkVersion "25.2.9519653" |
|
||||||
|
|
||||||
defaultConfig { |
|
||||||
minSdk 24 |
|
||||||
targetSdk 34 |
|
||||||
versionCode 240612 |
|
||||||
versionName "6.1.2" |
|
||||||
project.archivesBaseName = "ffmpeg-kit" |
|
||||||
consumerProguardFiles "consumer-rules.pro" |
|
||||||
} |
|
||||||
|
|
||||||
buildTypes { |
|
||||||
release { |
|
||||||
minifyEnabled false |
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
compileOptions { |
|
||||||
sourceCompatibility JavaVersion.VERSION_11 |
|
||||||
targetCompatibility JavaVersion.VERSION_11 |
|
||||||
} |
|
||||||
|
|
||||||
sourceSets { |
|
||||||
main { |
|
||||||
jniLibs.srcDirs = ["../libs"] |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
testOptions { |
|
||||||
unitTests.returnDefaultValues = true |
|
||||||
unitTests.all { |
|
||||||
systemProperty 'enable.ffmpeg.kit.test.mode', 'true' |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
publishing { |
|
||||||
singleVariant('release') { |
|
||||||
withJavadocJar() |
|
||||||
withSourcesJar() |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
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 |
|
||||||
configurations.implementation.setCanBeResolved(true) |
|
||||||
classpath += configurations.implementation |
|
||||||
} |
|
||||||
|
|
||||||
dependencies { |
|
||||||
api 'com.arthenica:smart-exception-java:0.2.1' |
|
||||||
testImplementation "androidx.test.ext:junit:1.2.1" |
|
||||||
testImplementation 'org.json:json:20240303' |
|
||||||
} |
|
@ -1,65 +0,0 @@ |
|||||||
apply plugin: 'com.android.library' |
|
||||||
|
|
||||||
android { |
|
||||||
if (project.android.hasProperty("namespace")) { |
|
||||||
namespace 'com.arthenica.ffmpegkit' |
|
||||||
} |
|
||||||
compileSdk 34 |
|
||||||
ndkVersion "22.1.7171670" |
|
||||||
|
|
||||||
defaultConfig { |
|
||||||
minSdk 16 |
|
||||||
targetSdk 34 |
|
||||||
versionCode 160612 |
|
||||||
versionName "6.1.2.LTS" |
|
||||||
project.archivesBaseName = "ffmpeg-kit" |
|
||||||
consumerProguardFiles "consumer-rules.pro" |
|
||||||
} |
|
||||||
|
|
||||||
buildTypes { |
|
||||||
release { |
|
||||||
minifyEnabled false |
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
compileOptions { |
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8 |
|
||||||
targetCompatibility JavaVersion.VERSION_1_8 |
|
||||||
} |
|
||||||
|
|
||||||
sourceSets { |
|
||||||
main { |
|
||||||
jniLibs.srcDirs = ["../libs"] |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
testOptions { |
|
||||||
unitTests.returnDefaultValues = true |
|
||||||
unitTests.all { |
|
||||||
systemProperty 'enable.ffmpeg.kit.test.mode', 'true' |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
publishing { |
|
||||||
singleVariant('release') { |
|
||||||
withJavadocJar() |
|
||||||
withSourcesJar() |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
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 |
|
||||||
configurations.implementation.setCanBeResolved(true) |
|
||||||
classpath += configurations.implementation |
|
||||||
} |
|
||||||
|
|
||||||
dependencies { |
|
||||||
api 'com.arthenica:smart-exception-java:0.2.1' |
|
||||||
testImplementation "androidx.test.ext:junit:1.2.1" |
|
||||||
testImplementation 'org.json:json:20240303' |
|
||||||
} |
|
Loading…
Reference in new issue