Skip to content

Commit

Permalink
Fix execution of Gradle plugin
Browse files Browse the repository at this point in the history
This commit fixes the build of the gradle plugin with Java 9.

See gradle/gradle#1095
  • Loading branch information
snicoll committed May 10, 2017
1 parent 344fe72 commit f49be0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spring-boot-tools/spring-boot-gradle-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
<argument>-Pversion=${project.version}</argument>
<argument>-Pdescription=${project.description}</argument>
</arguments>
<environmentVariables>
<JDK_JAVA_OPTIONS>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</JDK_JAVA_OPTIONS>
</environmentVariables>
</configuration>
<goals>
<goal>exec</goal>
Expand Down

0 comments on commit f49be0b

Please sign in to comment.