File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ plugins {
1515 id " org.gradlex.extra-java-module-info" version " 1.7"
1616 id " org.beryx.jlink" version " 2.26.0"
1717 id " org.openjfx.javafxplugin" version " 0.1.0"
18+ id " com.gluonhq.gluonfx-gradle-plugin" version " 1.0.22"
1819 id ' idea'
1920 id ' application'
2021 id ' maven-publish'
Original file line number Diff line number Diff line change @@ -110,8 +110,15 @@ jlink {
110110 }
111111 addExtraDependencies(" javafx" )
112112 launcher {
113- name = ' xJavaFxTool'
114- mainClassName = ' com.xwintop.xJavaFxTool.XJavaFxToolMain'
115- jvmArgs = [' -Dlogback.configurationFile=./logback.xml' ]
113+ name = application. applicationName
114+ mainClassName = application. mainClass
115+ // jvmArgs = ['-Dlogback.configurationFile=./logback.xml']
116+ }
117+ jpackage {
118+ outputDir = " build-package"
119+ imageName = application. applicationName
120+ skipInstaller = false
121+ installerName = application. applicationName
122+ appVersion = version. toString()
116123 }
117124}
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ dependencies {
1717}
1818
1919group = ' com.gitee.xwintop'
20- version = ' 0.0.8-jdk17 '
20+ version = ' 0.0.8'
2121description = ' xcore'
2222
23- compileJava {
24- options. compilerArgs + = [' --module-path' , classpath. asPath]
25- }
23+ // compileJava {
24+ // options.compilerArgs += ['--module-path', classpath.asPath]
25+ // }
2626
2727// extraJavaModuleInfo {
2828// module('quartz-2.3.2.jar','quartz','2.3.2')
@@ -37,14 +37,14 @@ compileJava {
3737// deriveAutomaticModuleNamesFromFileNames.set(true)
3838// }
3939
40- publishing {
41- publications {
42- maven(MavenPublication ) {
43- from(components. java)
44- }
45- }
46- }
40+ // publishing {
41+ // publications {
42+ // maven(MavenPublication) {
43+ // from(components.java)
44+ // }
45+ // }
46+ // }
4747
48- tasks. withType(JavaCompile ) {
49- options. encoding = ' UTF-8'
50- }
48+ // tasks.withType(JavaCompile) {
49+ // options.encoding = 'UTF-8'
50+ // }
Original file line number Diff line number Diff line change 1717 requires com .jfoenix ;
1818 requires transitive static lombok ;
1919 requires transitive org .slf4j ;
20- requires quartz ;
20+ requires transitive quartz ;
2121 requires transitive javafx .swing ;
2222 requires org .controlsfx .controls ;
2323 requires transitive cn .hutool ;
You can’t perform that action at this time.
0 commit comments