mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-01-26 08:38:08 +08:00
50 lines
987 B
Groovy
50 lines
987 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.novoda:bintray-release:0.4.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'bintray-release'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion '25.0.2'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 9
|
|
targetSdkVersion 23
|
|
versionCode 21
|
|
versionName '2.7.0'
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
}
|
|
|
|
idea {
|
|
module {
|
|
downloadJavadoc = true
|
|
downloadSources = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'org.slf4j:slf4j-android:1.7.21'
|
|
}
|
|
|
|
publish {
|
|
userOrg = 'alexeydanilov'
|
|
groupId = 'com.danikula'
|
|
artifactId = 'videocache'
|
|
publishVersion = android.defaultConfig.versionName
|
|
description = 'Cache support for android VideoView'
|
|
website = 'https://github.com/danikula/AndroidVideoCache'
|
|
}
|