-
Notifications
You must be signed in to change notification settings - Fork 545
/
build.gradle
72 lines (64 loc) · 1.9 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'org.openjfx:javafx-plugin:0.0.12'
}
}
plugins {
id 'java'
id 'application'
id 'maven-publish'
id 'org.openjfx.javafxplugin' version '0.0.12'
id 'org.beryx.jlink' version '2.24.4'
}
apply plugin: 'org.openjfx.javafxplugin'
repositories {
mavenLocal()
maven {
url = uri('https://maven.aliyun.com/repository/public')
}
maven {
url = uri('https://jitpack.io')
}
}
dependencies {
implementation 'org.openjfx:javafx-controls:17.0.2'
implementation 'org.openjfx:javafx-base:17.0.2'
implementation 'org.openjfx:javafx-graphics:17.0.2'
implementation 'org.openjfx:javafx-fxml:17.0.2'
implementation 'org.openjfx:javafx-swing:17.0.2'
implementation 'org.openjfx:javafx-media:17.0.2'
implementation 'org.openjfx:javafx-web:17.0.2'
implementation 'org.openjfx:javafx-graphics:17.0.2'
implementation 'org.openjfx:javafx-graphics:17.0.2'
implementation 'org.openjfx:javafx-graphics:17.0.2'
implementation 'io.github.classgraph:classgraph:4.8.100'
implementation 'com.gitee.xwintop:xcore:0.0.6-jdk17'
implementation 'com.github.oshi:oshi-core:5.7.5'
testImplementation 'junit:junit:4.12'
compileOnly 'org.projectlombok:lombok:1.18.22'
}
group = 'com.xwintop'
version = '0.2.3-jdk17'
description = 'xJavaFxTool'
sourceCompatibility = '17'
javafx {
version = "17.0.2"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.swing', 'javafx.web']
configuration = 'compileOnly'
}
jlink {
// mergedModule {
// requires 'java.naming'
// requires 'java.xml'
// }
launcher{
name = 'xJavaFxTool'
mainClassName = 'com.xwintop.xJavaFxTool.XJavaFxToolMain'
jvmArgs = ['-Dlogback.configurationFile=./logback.xml']
}
}