Skip to content

Commit

Permalink
Tests: Disable jacoco if running on Java10+
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Mar 14, 2018
1 parent ee64b2c commit 3e2106e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gradle/javaModule.gradle
Expand Up @@ -109,6 +109,10 @@ test {
}
}

jacoco {
enabled = JavaVersion.current() <= JavaVersion.VERSION_1_9
}

// ES testing framework adds the resources target build paths to the classpath of the tests,
// but if the src/[main|test]/resources directories of a project are empty, then these dirs
// are missing from the target build directory which causes all tests to fail.
Expand Down

0 comments on commit 3e2106e

Please sign in to comment.