File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -91,3 +91,30 @@ dependencies {
91
91
testCompile " org.mockito:mockito-core:2.7.9"
92
92
}
93
93
94
+ apply plugin : ' javafx-gradle-plugin'
95
+
96
+ buildscript {
97
+ dependencies {
98
+ classpath group : ' de.dynamicfiles.projects.gradle.plugins' , name : ' javafx-gradle-plugin' , version : ' 8.7.0'
99
+ }
100
+ repositories {
101
+ mavenLocal()
102
+ mavenCentral()
103
+
104
+ }
105
+ }
106
+ import org.apache.tools.ant.taskdefs.condition.Os ;
107
+ jfx {
108
+ mainClass = mainClassName
109
+ jfxMainAppJarName = " trex-stateless-gui.jar"
110
+ appName = " trex-stateless-gui"
111
+ nativeReleaseVersion = version
112
+ additionalAppResources = Os . isFamily(Os . FAMILY_WINDOWS )? " src/main/resources/win32-x86-64" : null
113
+ vendor = ' Xored'
114
+ }
115
+
116
+ processResources {
117
+ filesMatching(" **/version.properties" ) {
118
+ expand(' version' : version)
119
+ }
120
+ }
You can’t perform that action at this time.
0 commit comments