-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release with JPro version
2023.2.0
(#35)
* Upgrade JPro to the latest version `2023.2.0` * Apply some gradle clean up formatting
- Loading branch information
Showing
2 changed files
with
24 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,29 @@ | ||
/** | ||
****************** Script Configuration ****************** | ||
*/ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
gradlePluginPortal() | ||
|
||
maven { | ||
url "https://sandec.jfrog.io/artifactory/repo" | ||
} | ||
} | ||
|
||
dependencies { | ||
classpath 'one.jpro:jpro-gradle-plugin:2023.1.0' | ||
} | ||
} | ||
|
||
|
||
/** | ||
****************** Java Configuration ****************** | ||
*/ | ||
plugins { | ||
id 'org.openjfx.javafxplugin' version '0.0.14' | ||
id 'org.openjfx.javafxplugin' version '0.0.14' | ||
id 'jpro-gradle-plugin' | ||
} | ||
|
||
compileJava { | ||
sourceCompatibility = 11 | ||
targetCompatibility = 11 | ||
sourceCompatibility = 11 | ||
targetCompatibility = 11 | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
mavenCentral() | ||
} | ||
|
||
javafx { | ||
version = '17.0.7' | ||
modules = [ 'javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.web' ] | ||
modules = ['javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.web'] | ||
} | ||
|
||
/** | ||
****************** JPro Configuration ****************** | ||
*/ | ||
apply plugin: 'jpro-gradle-plugin' | ||
|
||
/** | ||
* App Main Class | ||
*/ | ||
//mainClassName = 'one.jpro.hellojpro.HelloJPro' | ||
mainClassName = 'one.jpro.hellojpro.HelloJProFXML' | ||
|
||
application { | ||
mainModule = moduleName | ||
// Define the main class for the application. | ||
mainClassName = 'one.jpro.hellojpro.HelloJProFXML' | ||
mainModule = moduleName | ||
} | ||
|
||
jpro { | ||
JVMArgs << '-Xmx1000m' | ||
|
||
// jpro server port | ||
port = 8080 | ||
// jpro server port | ||
port = 8080 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
buildscript { | ||
repositories { | ||
gradlePluginPortal() | ||
|
||
maven { | ||
url "https://sandec.jfrog.io/artifactory/repo" | ||
} | ||
} | ||
|
||
dependencies { | ||
classpath 'one.jpro:jpro-gradle-plugin:2023.2.0' | ||
} | ||
} |