mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-29 11:54:33 +01:00
73 lines
1.8 KiB
Groovy
73 lines
1.8 KiB
Groovy
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
|
||
|
ext {
|
||
|
publishedGroupId = 'nl.bravobit'
|
||
|
libraryName = 'Android FFmpeg'
|
||
|
artifact = 'android-ffmpeg'
|
||
|
|
||
|
libraryDescription = 'FFmpeg/FFprobe compiled for Android. Execute FFmpeg and FFprobe commands with ease in your Android project.'
|
||
|
|
||
|
siteUrl = 'https://github.com/bravobit/FFmpeg-Android'
|
||
|
gitUrl = 'https://github.com/bravobit/FFmpeg-Android.git'
|
||
|
|
||
|
libraryVersion = '1.1.7'
|
||
|
|
||
|
developerId = 'Bravobit'
|
||
|
developerName = 'Bravobit'
|
||
|
developerEmail = 'info@bravobit.nl'
|
||
|
|
||
|
licenseName = 'GNU General Public License v3.0'
|
||
|
licenseUrl = 'https://github.com/bravobit/FFmpeg-Android/blob/master/LICENSE'
|
||
|
allLicenses = ["GPL-3.0"]
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 29
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 16
|
||
|
targetSdkVersion 29
|
||
|
versionCode 18
|
||
|
versionName "1.2.1"
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_7
|
||
|
targetCompatibility JavaVersion.VERSION_1_7
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
||
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||
|
}
|
||
|
|
||
|
task sourcesJar(type: Jar) {
|
||
|
from android.sourceSets.main.java.srcDirs
|
||
|
classifier = 'sources'
|
||
|
}
|
||
|
|
||
|
task javadoc(type: Javadoc) {
|
||
|
source = android.sourceSets.main.java.srcDirs
|
||
|
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
|
||
|
}
|
||
|
|
||
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||
|
classifier = 'javadoc'
|
||
|
from javadoc.destinationDir
|
||
|
}
|
||
|
|
||
|
artifacts {
|
||
|
archives javadocJar
|
||
|
archives sourcesJar
|
||
|
}
|