use native gradle JUnit support

This commit is contained in:
Alexey Danilov
2015-05-07 15:36:44 +03:00
parent c6f9831473
commit fa93946556
4 changed files with 5 additions and 19 deletions

View File

@@ -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')