Skip to content

Instantly share code, notes, and snippets.

@scompo
Created April 19, 2016 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scompo/d7549d7d63aeaedc0d8fab514df98159 to your computer and use it in GitHub Desktop.
Save scompo/d7549d7d63aeaedc0d8fab514df98159 to your computer and use it in GitHub Desktop.
build.gradle coveralls (part 2)
plugins {
id 'jacoco'
id 'com.github.kt3k.coveralls' version '2.6.3'
}
apply plugin: 'java'
compileJava{
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
repositories {
jcenter()
mavenCentral()
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
dependencies {
testCompile 'junit:junit:4.12'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment