Skip to content

Commit

Permalink
[Gradle] Remove workaround for gradle/gradle#15538 as the issue was f…
Browse files Browse the repository at this point in the history
…ixed in Gradle 7.x.
  • Loading branch information
vyazelenko committed Jul 16, 2021
1 parent 701685a commit 4b686a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Expand Up @@ -101,9 +101,6 @@ subprojects {

tasks.withType(JavaCompile) {
if (buildJavaVersion >= 9) {
// -- Workaround for https://github.com/gradle/gradle/issues/15538
options.forkOptions.jvmArgs.addAll( ['--add-opens', 'jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED'] )
// --
javaCompiler.set(toolchainCompiler)
}
else {
Expand Down Expand Up @@ -238,4 +235,4 @@ tasks.named("dependencyUpdates").configure {
wrapper {
gradleVersion = '7.1.1'
distributionType = 'ALL'
}
}

0 comments on commit 4b686a4

Please sign in to comment.