Skip to content

Commit

Permalink
Update javafxplugin and jlink versions to support never versions of java
Browse files Browse the repository at this point in the history
* Need to increase javafxplugin version because of a bug exist for build with java11+ in moduleplugin which used in older versions of javafxplugin. It is fixed by openjfx/javafx-gradle-plugin#120 Which in merged with 0.0.12

* Need to increase jlink because of a bug exist in jlink for building java16 versions  ( beryx/badass-jlink-plugin#176 )
  • Loading branch information
usta committed Mar 15, 2022
1 parent 703b59f commit d6b26d8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion gradle.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2>Run HelloWorld using Gradle</h2>
<pre><code>
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.5</span>'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.12</span>'
}
</code></pre>

Expand Down
4 changes: 2 additions & 2 deletions ide-eclipse.html
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,8 @@ <h5>5. Create a custom runtime image</h5>
plugins {
id 'application'
id 'eclipse'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.7</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.9.4</span>'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.12</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.25.0</span>'
}

javafx {
Expand Down
4 changes: 2 additions & 2 deletions ide-intellij.html
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ <h5>6. Create a custom runtime image</h5>
<pre><code>
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.7</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.9.4</span>'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.12</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.25.0</span>'
}

javafx {
Expand Down
4 changes: 2 additions & 2 deletions ide-netbeans.html
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ <h5>6. Create a custom runtime image</h5>
<pre><code>
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.7</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.9.4</span>'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.12</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.25.0</span>'
}

javafx {
Expand Down
6 changes: 3 additions & 3 deletions ide-vscode.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ <h5>2. Modify the build</h5>
<a class="samples" href="https://github.com/openjfx/samples/blob/master/IDE/VSCode/Non-Modular/Gradle/hellofx/build.gradle" target="_blank">build</a> file, setting the
<kbd>mainClassName</kbd> accordingly to <kbd>org.openjfx.MainApp</kbd>.

Make sure the plugin <kbd>org.openjfx.javafxplugin</kbd> is applied and the version is set to <kbd><span class="JFX_PLUGIN_VERSION">0.0.10</span></kbd>
Make sure the plugin <kbd>org.openjfx.javafxplugin</kbd> is applied and the version is set to <kbd><span class="JFX_PLUGIN_VERSION">0.0.12</span></kbd>
</p>
<p>
Similar to Maven, we can declare the required JavaFX modules in the <kbd>build.gradle</kbd> file.
Expand Down Expand Up @@ -530,8 +530,8 @@ <h5>6. Create a custom runtime image</h5>
<pre><code>
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.7</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.9.4</span>'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.12</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.25.0</span>'
}

javafx {
Expand Down
4 changes: 2 additions & 2 deletions modular.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ <h2>Runtime images</h2>
<pre><code>
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.7</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.9.4</span>'
id 'org.openjfx.javafxplugin' version '<span class="JFX_PLUGIN_VERSION">0.0.12</span>'
id 'org.beryx.jlink' version '<span class="JLINK_PLUGIN_VERSION">2.25.0</span>'
}

javafx {
Expand Down

0 comments on commit d6b26d8

Please sign in to comment.