Skip to content

Commit

Permalink
Target Java 17 for all project (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored May 10, 2022
1 parent 1474dff commit 09fae46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ bin

# Vim
.swp

.gitpod.yml
10 changes: 10 additions & 0 deletions all/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 09fae46

Please sign in to comment.