Skip to content

Commit b2de58c

Browse files
committed
#107 Update samples with latest versions
1 parent e98a05e commit b2de58c

27 files changed

Lines changed: 32 additions & 49 deletions

File tree

CommandLine/Modular/Gradle/hellofx/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.7'
4-
id 'org.beryx.jlink' version '2.9.4'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
4+
id 'org.beryx.jlink' version '2.12.0'
55
}
66

77
repositories {
88
mavenCentral()
99
}
1010

1111
javafx {
12-
version = "12"
1312
modules = [ 'javafx.controls' ]
1413
}
1514

CommandLine/Modular/Maven/hellofx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<plugin>
4444
<groupId>org.openjfx</groupId>
4545
<artifactId>javafx-maven-plugin</artifactId>
46-
<version>0.0.2</version>
46+
<version>0.0.3</version>
4747
<configuration>
4848
<release>12</release>
4949
<jlinkImageName>hellofx</jlinkImageName>

CommandLine/Modular/Maven/hellofx/src/main/java/org/openjfx/MainApp.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ public void start(Stage stage) throws Exception {
2222
stage.show();
2323
}
2424

25-
/**
26-
* The main() method is ignored in correctly deployed JavaFX application.
27-
* main() serves only as fallback in case the application can not be
28-
* launched through deployment artifacts, e.g., in IDEs with limited FX
29-
* support. NetBeans ignores main().
30-
*
31-
* @param args the command line arguments
32-
*/
3325
public static void main(String[] args) {
3426
launch(args);
3527
}

CommandLine/Non-modular/Gradle/hellofx/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.7'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
repositories {
@@ -15,7 +15,6 @@ dependencies {
1515
}
1616

1717
javafx {
18-
version = "12"
1918
modules = [ 'javafx.controls' ]
2019
}
2120

CommandLine/Non-modular/Maven/hellofx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<plugin>
5454
<groupId>org.openjfx</groupId>
5555
<artifactId>javafx-maven-plugin</artifactId>
56-
<version>0.0.2</version>
56+
<version>0.0.3</version>
5757
<configuration>
5858
<mainClass>hellofx.HelloFX</mainClass>
5959
</configuration>

HelloFX/Gradle/hellofx/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.7'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
repositories {
77
mavenCentral()
88
}
99

1010
javafx {
11-
version = "12"
1211
modules = [ 'javafx.controls' ]
1312
}
1413

HelloFX/Maven/hellofx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<plugin>
2525
<groupId>org.openjfx</groupId>
2626
<artifactId>javafx-maven-plugin</artifactId>
27-
<version>0.0.2</version>
27+
<version>0.0.3</version>
2828
<configuration>
2929
<mainClass>HelloFX</mainClass>
3030
</configuration>

IDE/Eclipse/Modular/Gradle/hellofx/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
plugins {
22
id 'application'
33
id 'eclipse'
4-
id 'org.openjfx.javafxplugin' version '0.0.7'
5-
id 'org.beryx.jlink' version '2.9.4'
4+
id 'org.openjfx.javafxplugin' version '0.0.8'
5+
id 'org.beryx.jlink' version '2.12.0'
66
}
77

88
repositories {
99
mavenCentral()
1010
}
1111

1212
javafx {
13-
version = "12"
1413
modules = [ 'javafx.controls', 'javafx.fxml' ]
1514
}
1615

IDE/Eclipse/Modular/Maven/hellofx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<plugin>
3535
<groupId>org.openjfx</groupId>
3636
<artifactId>javafx-maven-plugin</artifactId>
37-
<version>0.0.2</version>
37+
<version>0.0.3</version>
3838
<configuration>
3939
<release>12</release>
4040
<jlinkImageName>hellofx</jlinkImageName>

IDE/Eclipse/Non-Modular/Gradle/hellofx/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.7'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
repositories {
@@ -11,7 +11,6 @@ dependencies {
1111
}
1212

1313
javafx {
14-
version = "12"
1514
modules = [ 'javafx.controls', 'javafx.fxml' ]
1615
}
1716

0 commit comments

Comments
 (0)