Created
April 19, 2016 21:58
-
-
Save scompo/d7549d7d63aeaedc0d8fab514df98159 to your computer and use it in GitHub Desktop.
build.gradle coveralls (part 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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