File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 44- oraclejdk8
55
66after_success :
7- - " ./gradlew cobertura coveralls"
7+ - " ./gradlew jacocoTestReport coveralls"
88
99env :
1010 global :
Original file line number Diff line number Diff line change 11apply plugin : ' java'
22apply plugin : ' eclipse'
3- apply plugin : ' cobertura'
3+ // apply plugin: 'cobertura'
4+ apply plugin : ' jacoco'
45apply plugin : ' com.github.kt3k.coveralls'
56
67version = ' 1.0'
@@ -33,12 +34,23 @@ buildscript {
3334 }
3435
3536 dependencies {
36- classpath ' net.saliman:gradle-cobertura-plugin:2.0.0 ' // coverage reports :)
37+ // classpath 'net.saliman:gradle-cobertura-plugin:2.2.8 ' // coverage reports :)
3738 classpath ' org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
3839 }
3940}
4041
41- cobertura. coverageFormats = [' html' , ' xml' ]
42+ jacocoTestReport {
43+ reports {
44+ xml. enabled = true
45+ html. enabled = true
46+ }
47+ }
48+
49+ /* cobertura {
50+ coverageFormats = ['html' , 'xml']
51+ /*coverageDirs = ['build/classes/main', 'build/classes/test']
52+ coverageSourceDirs = ['src/main/java']
53+ }*/
4254
4355uploadArchives {
4456 repositories {
You can’t perform that action at this time.
0 commit comments