mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-06-13 17:15:50 +08:00
58 lines
1.1 KiB
Groovy
58 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'maven-publish'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
|
|
defaultConfig {
|
|
minSdkVersion 9
|
|
targetSdkVersion 23
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
}
|
|
|
|
idea {
|
|
module {
|
|
downloadJavadoc = true
|
|
downloadSources = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.slf4j:slf4j-android:1.7.34'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
myPulication(MavenPublication) {
|
|
groupId 'com.danikula'
|
|
version '2.7.1'
|
|
artifactId 'videocache'
|
|
artifact("$buildDir/outputs/aar/library-release.aar")
|
|
}
|
|
}
|
|
}
|
|
|
|
//publish {
|
|
// userOrg = 'alexeydanilov'
|
|
// groupId = 'com.danikula'
|
|
// artifactId = 'videocache'
|
|
// publishVersion = android.defaultConfig.versionName
|
|
// description = 'Cache support for android VideoView'
|
|
// website = 'https://github.com/danikula/AndroidVideoCache'
|
|
//}
|