Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
BEAUDOUIN Nicolas
boilerplate-gradle-jdk15
Commits
a5beae28
Commit
a5beae28
authored
5 years ago
by
Typhon0
Browse files
Options
Download
Email Patches
Plain Diff
gradle 6.0
parent
d4f0e30f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
build.gradle
build.gradle
+1
-0
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+2
-3
src/main/java/boilerplategradlejdk13/MainApp.java
src/main/java/boilerplategradlejdk13/MainApp.java
+2
-2
src/main/java/module-info.java
src/main/java/module-info.java
+4
-2
src/main/resources/fxml/scene.fxml
src/main/resources/fxml/scene.fxml
+2
-1
No files found.
build.gradle
View file @
a5beae28
plugins
{
id
'application'
id
'org.openjfx.javafxplugin'
version
'0.0.8'
...
...
This diff is collapsed.
Click to expand it.
gradle/wrapper/gradle-wrapper.properties
View file @
a5beae28
#Wed Nov 06 21:27:51 CET 2019
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.0-all.zip
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
This diff is collapsed.
Click to expand it.
src/main/java/boilerplategradlejdk13/MainApp.java
View file @
a5beae28
...
...
@@ -11,10 +11,10 @@ public class MainApp extends Application {
@Override
public
void
start
(
Stage
stage
)
throws
Exception
{
Parent
root
=
FXMLLoader
.
load
(
getClass
().
getResource
(
"scene.fxml"
));
Parent
root
=
FXMLLoader
.
load
(
getClass
().
getResource
(
"
/fxml/
scene.fxml"
));
Scene
scene
=
new
Scene
(
root
);
scene
.
getStylesheets
().
add
(
getClass
().
getResource
(
"styles.css"
).
toExternalForm
());
scene
.
getStylesheets
().
add
(
getClass
().
getResource
(
"
/
styles
heet/style
.css"
).
toExternalForm
());
stage
.
setTitle
(
"JavaFX and Gradle"
);
stage
.
setScene
(
scene
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/module-info.java
View file @
a5beae28
module
boilerplategradlejdk13
{
requires
javafx
.
controls
;
requires
javafx
.
fxml
;
opens
org
.
openjfx
to
javafx
.
fxml
;
exports
org
.
openjfx
;
opens
boilerplategradlejdk13
to
javafx
.
fxml
;
opens
boilerplategradlejdk13
.
controller
to
javafx
.
fxml
;
exports
boilerplategradlejdk13
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/resources/fxml/scene.fxml
View file @
a5beae28
...
...
@@ -4,7 +4,8 @@
<?import javafx.scene.layout.StackPane?>
<StackPane
maxHeight=
"-Infinity"
maxWidth=
"-Infinity"
minHeight=
"-Infinity"
minWidth=
"-Infinity"
prefHeight=
"400.0"
prefWidth=
"600.0"
xmlns=
"http://javafx.com/javafx/8.0.171"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"org.openjfx.FXMLController"
>
<StackPane
maxHeight=
"-Infinity"
maxWidth=
"-Infinity"
minHeight=
"-Infinity"
minWidth=
"-Infinity"
prefHeight=
"400.0"
prefWidth=
"600.0"
xmlns=
"http://javafx.com/javafx/8.0.171"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"boilerplategradlejdk13.controller.FXMLController"
>
<children>
<Label
fx:id=
"label"
text=
"Label"
/>
</children>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment