From 72825f21af6cb1da65e9899f425ac2eb786f3b38 Mon Sep 17 00:00:00 2001 From: Dmitry Vyazelenko <696855+vyazelenko@users.noreply.github.com> Date: Fri, 16 Jul 2021 14:45:02 +0200 Subject: [PATCH] [Gradle] Remove workaround for https://github.com/gradle/gradle/issues/15538 as the issue was fixed in Gradle 7.x. --- build.gradle | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build.gradle b/build.gradle index 6d201d442b..691c6eb1de 100644 --- a/build.gradle +++ b/build.gradle @@ -178,11 +178,6 @@ subprojects { } tasks.withType(JavaCompile) { - if (buildJavaVersion >= 16) { - // -- Workaround for https://github.com/gradle/gradle/issues/15538 - options.forkOptions.jvmArgs.addAll( ['--add-opens', 'jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED'] ) - // -- - } options.encoding = 'UTF-8' options.deprecation = true }