Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Change gradle configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zellius committed Apr 16, 2016
1 parent e13c13b commit 487ff30
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build.gradle
Expand Up @@ -2,10 +2,6 @@
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'

coveralls {
jacocoReportPath = "${buildDir}/reports/jacoco/jacocoRootReport/jacocoRootReport.xml"
}

buildscript {
repositories {
jcenter()
Expand Down Expand Up @@ -92,3 +88,10 @@ task jacocoRootReport(type: JacocoReport, group: 'Coverage reports', description
xml.enabled = true // required by coveralls
}
}

coveralls {
jacocoReportPath = "${buildDir}/reports/jacoco/jacocoRootReport/jacocoRootReport.xml"
sourceDirs = subprojects.findAll {
!it.name.contains('sample')
}.android.sourceSets.main.java.srcDirs.flatten()
}

0 comments on commit 487ff30

Please sign in to comment.