From 9aa86a16522e78b69ce8c81591ca5666f3a050a3 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Thu, 11 Aug 2022 12:35:19 +0200 Subject: [PATCH] fix vulnerability in postgresql jdbc driver 41.3.6 and JDK 16 incompatibility --- gradle.properties | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gradle.properties diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 00000000..db7cb96e --- /dev/null +++ b/gradle.properties @@ -0,0 +1,11 @@ + +# Spring BOM overrides +postgresql.version = 42.4.1 + +# TODO: can be removed if all dependencies are JDK 16 compliant +org.gradle.jvmargs= \ + --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