aboutsummaryrefslogtreecommitdiffstats
path: root/app/build.gradle
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-08-27 15:57:42 -0700
committerKenny Root <kenny@the-b.org>2015-08-27 21:41:06 -0700
commitc0378ed2db7243395197a7c0df4f324e098db446 (patch)
tree7aa62ec061971c964e63df4e195e706241c69e86 /app/build.gradle
parentb3f5f9b41c89f74792f2a027ed2ab31a60c88b5e (diff)
downloadconnectbot-c0378ed2db7243395197a7c0df4f324e098db446.tar.gz
connectbot-c0378ed2db7243395197a7c0df4f324e098db446.tar.bz2
connectbot-c0378ed2db7243395197a7c0df4f324e098db446.zip
Add dummy Android test
This is the start of the regression tests to make sure stuff like Local connections not working doesn't happen again.
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle17
1 files changed, 16 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index e791fc9..60e76f1 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -55,7 +55,7 @@ android {
}
testApplicationId "org.connectbot.tests"
- testInstrumentationRunner "android.test.InstrumentationTestRunner"
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
signingConfigs {
@@ -66,6 +66,16 @@ android {
compile "com.android.support:support-v4:22.2.1"
compile "com.android.support:appcompat-v7:22.2.1"
compile "com.android.support:design:22.2.1"
+
+ androidTestCompile('com.android.support.test:runner:0.3') {
+ exclude module: "support-annotations"
+ }
+ androidTestCompile('com.android.support.test:rules:0.3') {
+ exclude module: "support-annotations"
+ }
+ androidTestCompile('com.android.support.test.espresso:espresso-core:2.2') {
+ exclude module: "support-annotations"
+ }
}
buildTypes {
@@ -83,6 +93,11 @@ android {
testCoverageEnabled true
}
}
+
+ packagingOptions {
+ exclude 'META-INF/LICENSE.txt'
+ exclude 'LICENSE.txt'
+ }
}
def getGitDescription = { ->