From a1875c1e2823d9a8b5266248b431de563b994406 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Fri, 5 Dec 2014 23:30:45 -0500 Subject: [PATCH] Just kidding, I'm an idiot, forgot to configure coveralls --- app-test/build.gradle | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app-test/build.gradle b/app-test/build.gradle index 4a350bb..3c89db2 100644 --- a/app-test/build.gradle +++ b/app-test/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'kotlin' apply plugin: 'jacoco' apply plugin: 'com.github.kt3k.coveralls' -//evaluationDependsOn(":app:compileDebugJava") +evaluationDependsOn(":app:compileDebugJava") buildscript { repositories { @@ -74,18 +74,16 @@ jacocoTestReport { classDirectories = outputTree } - // We must specify sourceDirectories here (not in doFirst) because this - // will happen at configuration time. We only want to change classDirectories - // when generating the actual report - sourceDirectories = files(androidModule.android.sourceSets.main.java.srcDirs) - reports { xml.enabled true } } +coveralls { + sourceDirs = files(androidModule.android.sourceSets.main.java.srcDirs).files.absolutePath +} + tasks.withType(Test) { scanForTestClasses = false includes = testIncludes } -