Skip to content

Commit

Permalink
JDK 17 support (#489)
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Singh <[email protected]>
  • Loading branch information
aksingh-es authored Apr 5, 2022
1 parent 70a76b2 commit e9bc74f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
Build-ad:
strategy:
matrix:
java: [11]
java: [11,17]
fail-fast: false

name: Build and Test Anomaly detection Plugin
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ tasks.withType(JavaCompile) {
}
tasks.withType(Test) {
systemProperty "file.encoding", "UTF-8"
jvmArgs("--add-opens", "java.base/java.time=ALL-UNNAMED")
jvmArgs("--add-opens", "java.base/java.util.stream=ALL-UNNAMED")
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
Expand Down

0 comments on commit e9bc74f

Please sign in to comment.