Skip to content

Commit

Permalink
Use different JavaFX versions when building the modules and when runn…
Browse files Browse the repository at this point in the history
…ing the examples
  • Loading branch information
besidev committed Nov 18, 2024
1 parent ca2e3db commit 9a0ee81
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ configure(subprojects.findAll { it.name != 'example' }) {
apply plugin: 'org.owasp.dependencycheck'

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_BUILD_VERSION"
configurations = ["compileOnly", "testImplementation"]
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.swing', 'javafx.web']
}
Expand Down
2 changes: 1 addition & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies {
mainClassName = 'one.jpro.platform.example.Main'

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.swing', 'javafx.web']
}

Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
JPRO_PLATFORM_VERSION = 0.4.5-SNAPSHOT

JPRO_VERSION = 2024.4.1
JAVAFX_VERSION = 17.0.12
JAVAFX_BUILD_VERSION = 17.0.12
JAVAFX_EXAMPLES_VERSION = 23.0.1
SIMPLEFX_VERSION = 3.2.37
JMEMORYBUDDY_VERSION = 0.5.6
JNODES_VERSION = 0.8.3
Expand Down
2 changes: 1 addition & 1 deletion jpro-auth/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.swing', 'javafx.web']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-file/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.controls', 'javafx.swing', 'javafx.media']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-html-scrollpane/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.controls']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-mail/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.controls']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-mdfx/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.web']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-media/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.controls', 'javafx.swing', 'javafx.media']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-routing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ configure(project(':jpro-routing:example')) {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-session/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.graphics', 'javafx.controls']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-sipjs/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-webrtc/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
}

Expand Down
2 changes: 1 addition & 1 deletion jpro-youtube/example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
}

javafx {
version = "$JAVAFX_VERSION"
version = "$JAVAFX_EXAMPLES_VERSION"
modules = ['javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
}

Expand Down

0 comments on commit 9a0ee81

Please sign in to comment.