aboutsummaryrefslogtreecommitdiffstats
path: root/app/build.gradle
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-07-17 15:28:08 -0700
committerKenny Root <kenny@the-b.org>2015-07-17 15:28:08 -0700
commitad15d09a0734adc07324cba10527407c91c3d9b5 (patch)
tree3d54c9d6cfa0fad263e977e2c7dfc85a77d6e9f4 /app/build.gradle
parent86a528877cca24af39896ce01dedccd83f9aaf22 (diff)
parent97a73ae7ef79f4fec6e39c6eedd327a3e74d244d (diff)
downloadconnectbot-ad15d09a0734adc07324cba10527407c91c3d9b5.tar.gz
connectbot-ad15d09a0734adc07324cba10527407c91c3d9b5.tar.bz2
connectbot-ad15d09a0734adc07324cba10527407c91c3d9b5.zip
Merge pull request #102 from kruton/master
Fix some lint issues and add coverage reports
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 9118576..ca76cf3 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,8 +1,19 @@
apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'
+apply plugin: 'com.github.kt3k.coveralls'
apply from: '../config/quality.gradle'
apply from: '../config/translations.gradle'
+buildscript {
+ repositories {
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.+'
+ }
+}
+
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
@@ -50,10 +61,13 @@ android {
debug {
applicationIdSuffix ".debug"
+ testCoverageEnabled true
}
}
}
+coveralls.jacocoReportPath = 'build/reports/coverage/debug/report.xml'
+
dependencies {
testCompile 'junit:junit:4.12'
testCompile('org.robolectric:robolectric:3.0') {