mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-04-22 10:49:22 +08:00
use native gradle JUnit support
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.github.jcandksolutions.gradle:android-unit-test:2.1.1'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url 'https://github.com/danikula/android-garden/raw/mvn-repo' }
|
||||
}
|
||||
@@ -20,7 +11,7 @@ android {
|
||||
defaultConfig {
|
||||
applicationId 'com.danikula.proxycache.test'
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 18 // Robolectric doesn't support API 19-21
|
||||
targetSdkVersion 22
|
||||
versionCode 1
|
||||
versionName '0.1'
|
||||
}
|
||||
@@ -30,11 +21,6 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'android-unit-test'
|
||||
|
||||
// to fix AS 0.8.9+ issue (https://github.com/evant/android-studio-unit-test-plugin Troubleshooting)
|
||||
tasks.findByName("assembleDebug").dependsOn("testDebugClasses")
|
||||
|
||||
dependencies {
|
||||
compile project (':library')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user