mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-21 23:48:18 -05:00
Just kidding, I'm an idiot, forgot to configure coveralls
This commit is contained in:
parent
e4ab12f4ab
commit
a1875c1e28
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user