Last active
August 29, 2015 14:20
-
-
Save vexdev/92c1add7d50cc726b6a0 to your computer and use it in GitHub Desktop.
Example configuration for an app using Android Unit Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 22 | |
buildToolsVersion "22.0.0" | |
defaultConfig { | |
minSdkVersion 18 | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
testCompile 'junit:junit:4.12' | |
testCompile 'org.mockito:mockito-core:2.0.5-beta' | |
testCompile 'com.android.support:support-v4:22.0.0' | |
testCompile ('org.powermock:powermock-api-mockito:1.6.2') { | |
exclude module: 'hamcrest-core' | |
exclude module: 'objenesis' | |
} | |
testCompile ('org.powermock:powermock-module-junit4:1.6.2') { | |
exclude module: 'hamcrest-core' | |
exclude module: 'objenesis' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment