-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#107 Update samples with latest versions #33
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,28 +22,28 @@ | |
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-controls</artifactId> | ||
<version>12.0.1</version> | ||
<version>12.0.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-fxml</artifactId> | ||
<version>12.0.1</version> | ||
<version>12.0.2</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.0</version> | ||
<version>3.8.1</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This may also move to a maven property to keep all versions consolidated at one place. |
||
<configuration> | ||
<release>12</release> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-maven-plugin</artifactId> | ||
<version>0.0.2</version> | ||
<version>0.0.3</version> | ||
<configuration> | ||
<release>12</release> | ||
<jlinkImageName>hellofx</jlinkImageName> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,25 +17,25 @@ | |
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-controls</artifactId> | ||
<version>12.0.1</version> | ||
<version>12.0.2</version> | ||
</dependency> | ||
<!-- Uncomment for cross-platform fat jar | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-graphics</artifactId> | ||
<version>12.0.1</version> | ||
<version>12.0.2</version> | ||
<classifier>win</classifier> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-graphics</artifactId> | ||
<version>12.0.1</version> | ||
<version>12.0.2</version> | ||
<classifier>linux</classifier> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-graphics</artifactId> | ||
<version>12.0.1</version> | ||
<version>12.0.2</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As stated before, these versions can move to maven properties to make future changes easier. |
||
<classifier>mac</classifier> | ||
</dependency> --> | ||
</dependencies> | ||
|
@@ -45,15 +45,15 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.0</version> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<release>12</release> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-maven-plugin</artifactId> | ||
<version>0.0.2</version> | ||
<version>0.0.3</version> | ||
<configuration> | ||
<mainClass>hellofx.HelloFX</mainClass> | ||
</configuration> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.button { | ||
-fx-font-weight: bold; | ||
.label { | ||
-fx-text-fill: blue; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should remember to close PR #30 after we merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a maven property for this to make future changes easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if we use Maven properties, these will be on top of each pom, so we will have to update every single file either way.
We could add a parent pom for all the maven samples, but I don't think we should, as each sample is isolated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. However, in this case we update it at one place instead of spreading it across the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this applies only if we have two or more dependencies, so it is a little bit overkilling imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok