Target Java 17 for all project (#329)

This commit is contained in:
Anuraag Agrawal 2022-05-10 15:33:06 +09:00 committed by GitHub
parent 1474dff9d9
commit 09fae460d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

2
.gitignore vendored
View File

@ -51,3 +51,5 @@ bin
# Vim
.swp
.gitpod.yml

View File

@ -23,6 +23,16 @@ dependencies {
}
}
tasks {
// We don't compile anything here. This project is mostly for
// aggregating jacoco reports and it doesn't work if this isn't at least as high as the
// highest supported Java version in any of our projects. Most of our projects target
// Java 8, but some target Java 11 or 17.
withType(JavaCompile::class) {
options.release.set(17)
}
}
afterEvaluate {
tasks {
testCodeCoverageReport {