File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ language : java
2+ jdk :
3+ - oraclejdk8
4+ before_script :
5+ - chmod +x gradlew
6+ script :
7+ - ./gradlew check
8+ - ./gradlew codeCoverageReport
9+ after_success :
10+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ buildscript {
88 }
99}
1010apply plugin : ' java'
11+ apply plugin : ' jacoco'
1112apply plugin : ' net.minecraftforge.gradle.forge'
1213// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
1314
@@ -64,6 +65,13 @@ dependencies {
6465
6566}
6667
68+ jacocoTestReport {
69+ reports {
70+ xml. enabled true
71+ html. enabled false
72+ }
73+ }
74+
6775processResources {
6876 // this will ensure that this task is redone when the versions change.
6977 inputs. property " version" , project. version
You can’t perform that action at this time.
0 commit comments