Add source files to Coveralls

This commit is contained in:
Bradlee Speice 2014-11-17 17:11:41 -05:00
parent a7e477b46b
commit af5875cf86

View File

@ -27,7 +27,6 @@ dependencies {
testCompile 'org.robolectric:robolectric:+' testCompile 'org.robolectric:robolectric:+'
} }
jacocoTestReport { jacocoTestReport {
/* /*
Alright, setting up Jacoco the right way is massively confusing. Alright, setting up Jacoco the right way is massively confusing.
@ -56,3 +55,7 @@ jacocoTestReport {
html.destination "${buildDir}/jacocoHtml" html.destination "${buildDir}/jacocoHtml"
} }
} }
coveralls {
sourceDirs = files(androidModule.android.sourceSets.main.java.srcDirs).files.absolutePath
}