mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-01-25 04:47:54 +08:00
47 lines
1.3 KiB
Groovy
47 lines
1.3 KiB
Groovy
repositories {
|
|
maven { url 'https://dl.bintray.com/alexeydanilov/maven' }
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 22
|
|
buildToolsVersion '22.0.1'
|
|
|
|
defaultConfig {
|
|
applicationId 'com.danikula.proxycache.test'
|
|
minSdkVersion 16
|
|
targetSdkVersion 22
|
|
versionCode 1
|
|
versionName '0.1'
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
buildConfigField "int", "MIN_SDK_VERSION", Integer.toString(android.defaultConfig.minSdkVersion.apiLevel)
|
|
}
|
|
release {
|
|
buildConfigField "int", "MIN_SDK_VERSION", Integer.toString(android.defaultConfig.minSdkVersion.apiLevel)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile project (':library')
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile('org.robolectric:robolectric:3.0-rc2') {
|
|
exclude group: 'commons-logging', module: 'commons-logging'
|
|
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
|
|
}
|
|
testCompile 'com.squareup:fest-android:1.0.0'
|
|
testCompile 'com.google.guava:guava-jdk5:17.0'
|
|
testCompile('com.danikula:android-garden:2.1.4') {
|
|
exclude group: 'com.google.android'
|
|
}
|
|
testCompile 'org.mockito:mockito-all:1.9.5'
|
|
}
|