Skip to content

Commit a600ada

Browse files
committed
1.修改依赖类
1 parent c6e5926 commit a600ada

4 files changed

Lines changed: 26 additions & 18 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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'

xJavaFxTool/build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

xcore/build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ dependencies {
1717
}
1818

1919
group = 'com.gitee.xwintop'
20-
version = '0.0.8-jdk17'
20+
version = '0.0.8'
2121
description = '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+
//}

xcore/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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;

0 commit comments

Comments
 (0)