From af5875cf86040ab4aadc36caae976ef840e557bc Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 17 Nov 2014 17:11:41 -0500 Subject: [PATCH] Add source files to Coveralls --- app-test/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-test/build.gradle b/app-test/build.gradle index eb9fd24..acf075c 100644 --- a/app-test/build.gradle +++ b/app-test/build.gradle @@ -27,7 +27,6 @@ dependencies { testCompile 'org.robolectric:robolectric:+' } - jacocoTestReport { /* Alright, setting up Jacoco the right way is massively confusing. @@ -56,3 +55,7 @@ jacocoTestReport { html.destination "${buildDir}/jacocoHtml" } } + +coveralls { + sourceDirs = files(androidModule.android.sourceSets.main.java.srcDirs).files.absolutePath +}