From 8435d9af164e05459c5ba87b7a59fb39c337949d Mon Sep 17 00:00:00 2001 From: Marcus Bitzl Date: Tue, 15 Jun 2021 14:56:56 +0200 Subject: [PATCH] Set CI options for Java 16 --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d026c19..c6164a40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,12 @@ on: jobs: build: + env: + MAVEN_OPTS: " --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ + --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ + --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ + --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ + --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED " runs-on: ubuntu-latest strategy: matrix: