Just kidding, I'm an idiot, forgot to configure coveralls

This commit is contained in:
Bradlee Speice 2014-12-05 23:30:45 -05:00
parent e4ab12f4ab
commit a1875c1e28

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin'
apply plugin: 'jacoco' apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls' apply plugin: 'com.github.kt3k.coveralls'
//evaluationDependsOn(":app:compileDebugJava") evaluationDependsOn(":app:compileDebugJava")
buildscript { buildscript {
repositories { repositories {
@ -74,18 +74,16 @@ jacocoTestReport {
classDirectories = outputTree 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 { reports {
xml.enabled true xml.enabled true
} }
} }
coveralls {
sourceDirs = files(androidModule.android.sourceSets.main.java.srcDirs).files.absolutePath
}
tasks.withType(Test) { tasks.withType(Test) {
scanForTestClasses = false scanForTestClasses = false
includes = testIncludes includes = testIncludes
} }