Skip to content

Commit 8637272

Browse files
Gradle9
1 parent 1e54180 commit 8637272

16 files changed

Lines changed: 17 additions & 45 deletions

File tree

example/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ dependencies {
2121
runtimeOnly "ch.qos.logback:logback-classic:$LOGBACK_VERSION"
2222
}
2323

24-
mainClassName = 'one.jpro.platform.example.Main'
25-
2624
javafx {
2725
version = "$JAVAFX_EXAMPLES_VERSION"
2826
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.swing', 'javafx.web']
2927
}
3028

3129
application {
32-
mainClass = "$mainClassName"
30+
mainClass = 'one.jpro.platform.example.Main'
3331
mainModule = 'one.jpro.platform.example'
3432
applicationDefaultJvmArgs = [
3533
"--add-exports", "javafx.base/com.sun.javafx.event=one.jpro.platform.media"

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
JPRO_PLATFORM_VERSION = 0.5.8-SNAPSHOT
22

3-
JPRO_VERSION = 2025.2.1
3+
JPRO_VERSION = 2025.3.1
44
JAVAFX_BUILD_VERSION = 17.0.15
55
JAVAFX_EXAMPLES_VERSION = 23.0.2
66
SIMPLEFX_VERSION = 3.2.40
@@ -9,7 +9,7 @@ JNODES_VERSION = 0.8.3
99
SCENIC_VIEW_VERSION = 11.0.3-SNAPSHOT-FORK
1010

1111
JAVAFX_PLUGIN_VERSION = 0.1.0
12-
MODULE_PLUGIN_VERSION = 1.8.15
12+
MODULE_PLUGIN_VERSION = 2.0.0
1313
OSDETECTOR_PLUGIN_VERSION = 1.7.3
1414
ENSEMBLE_GRADLE_PLUGIN_VERSION = 0.1.0-SNAPSHOT
1515
DEPENDENCY_CHECK_PLUGIN_VERSION = 9.1.0

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

jpro-auth/example/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ def examples = [
2929
'oauth' : 'one.jpro.platform.auth.example.oauth.OAuthApp'
3030
]
3131

32-
mainClassName = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["google-login"]
33-
3432
application {
35-
mainClass = "$mainClassName"
33+
mainClass = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["google-login"]
3634
mainModule = "one.jpro.platform.auth.example"
3735
}

jpro-file/example/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ def examples = [
2424
'file-uploader' : 'one.jpro.platform.file.example.upload.FileUploaderSample'
2525
]
2626

27-
mainClassName = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["text-editor"]
2827

2928
application {
30-
mainClass = "$mainClassName"
29+
mainClass = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["text-editor"]
3130
mainModule = "one.jpro.platform.file.example"
3231
applicationDefaultJvmArgs = [
3332
"--add-exports", "javafx.base/com.sun.javafx.event=one.jpro.platform.file"

jpro-html-scrollpane/example/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ javafx {
1515
modules = ['javafx.controls']
1616
}
1717

18-
mainClassName = 'one.jpro.platform.htmlscrollpane.example.HTMLScrollPaneSample'
19-
2018
application {
21-
mainClass = "$mainClassName"
19+
mainClass = 'one.jpro.platform.htmlscrollpane.example.HTMLScrollPaneSample'
2220
mainModule = "one.jpro.platform.htmlscrollpane.example"
2321
}

jpro-mail/example/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def examples = [
2121
'compose-mail' : 'one.jpro.platform.mail.example.compose.ComposeMailSample'
2222
]
2323

24-
mainClassName = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["compose-mail"]
25-
2624
application {
27-
mainClass = "$mainClassName"
25+
mainClass = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["compose-mail"]
2826
mainModule = "one.jpro.platform.mail.example"
2927
}

jpro-mdfx/example/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ javafx {
1717
modules = ['javafx.controls', 'javafx.fxml', 'javafx.web', 'javafx.swing']
1818
}
1919

20-
mainClassName = 'one.jpro.platform.mdfx.example.MarkdownViewSample'
21-
2220
application {
23-
mainClass = "$mainClassName"
21+
mainClass = 'one.jpro.platform.mdfx.example.MarkdownViewSample'
2422
mainModule = "one.jpro.platform.mdfx.example"
2523
}

jpro-media/example/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ def examples = [
3232
'media-recorder-and-player': 'one.jpro.platform.media.example.MediaRecorderAndPlayerSample'
3333
]
3434

35-
mainClassName = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["media-recorder-and-player"]
36-
3735
application {
38-
mainClass = "$mainClassName"
36+
mainClass = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["media-recorder-and-player"]
3937
mainModule = 'one.jpro.platform.media.example'
4038
applicationDefaultJvmArgs = [
4139
"--add-exports", "javafx.base/com.sun.javafx.event=one.jpro.platform.media"

jpro-routing/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ configure(project(':jpro-routing:example')) {
123123
'test' : 'example.scala.TestWebApplication',
124124
'extensions': 'example.scala.TestExtensions'
125125
]
126-
mainClassName = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["colors"]
127126

128127
application {
129-
mainClass = "$mainClassName"
128+
mainClass = project.hasProperty("sample") ? examples[project.getProperties().get("sample")] : examples["colors"]
130129
}
131130
}

0 commit comments

Comments
 (0)