Skip to content

Commit 1246e8d

Browse files
authored
Merge pull request #22 from 864381832/jdk17dev
Jdk17dev
2 parents 7b6e308 + e11e9a0 commit 1246e8d

62 files changed

Lines changed: 1450 additions & 1909 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# Default ignored files
22
#/.gitignore
3-
/.idea
4-
/xJavaFxTool.iml
5-
/logs
6-
/target
3+
.idea/
4+
*.iml
75

6+
logs/
7+
target/
88
libs/
9+
910
system_plugin_list.json
1011
RUNNING_PID
12+
gradle
13+
.gradle
14+
build
15+
out

README.md

Lines changed: 93 additions & 80 deletions
Large diffs are not rendered by default.

README_EN.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,12 @@
44

55
**Tencent Cloud Development Platform Address:**[xJavaFxTool](https://dev.tencent.com/u/xwintop/p/xJavaFxTool)
66

7-
<p align="center">
8-
<a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0.html">
9-
<img src="https://img.shields.io/:license-apache-blue.svg" ></img>
10-
</a>
11-
<a target="_blank" href="https://www.oracle.com/technetwork/java/javase/downloads/index.html">
12-
<img src="https://img.shields.io/badge/JDK-1.8+-green.svg" ></img>
13-
</a>
14-
<a target="_blank" href="https://gitee.com/xwintop/xJavaFxTool/stargazers">
15-
<img src='https://gitee.com/xwintop/xJavaFxTool/badge/star.svg?theme=dark' alt='gitee star'></img>
16-
</a>
17-
<a target="_blank" href='https://github.com/864381832/xJavaFxTool'>
18-
<img src="https://img.shields.io/github/stars/864381832/xJavaFxTool.svg?style=social" alt="github star"></img>
19-
</a>
20-
</p>
7+
[![](https://img.shields.io/:license-apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
8+
[![](https://img.shields.io/badge/JDK-17+-green.svg)](https://www.oracle.com/technetwork/java/javase/downloads/index.html)
9+
[![](https://img.shields.io/badge/maven-v3.6.3-blue)](https://maven.apache.org)
10+
[![](https://gitee.com/xwintop/xJavaFxTool/badge/star.svg?theme=dark)](https://gitee.com/xwintop/xJavaFxTool/stargazers)
11+
[![](https://img.shields.io/github/stars/864381832/xJavaFxTool.svg?style=social)](https://github.com/864381832/xJavaFxTool)
12+
[![](https://img.shields.io/badge/IntelliJ%20IDEA-提供支持-blue.svg)](https://www.jetbrains.com/?from=xJavaFxTool)
2113

2214
[中文说明/Chinese Documentation](README.md)
2315

@@ -40,7 +32,7 @@ Due to the hot SpringBoot, the project has been released SpringBoot-javafx versi
4032
the plug-in jar package can be automatically loaded under the root directory libs (see the open source project [xJavaFxTool-plugin](https://gitee.com/xwintop/xJavaFxTool-plugin) for plug-in development examples , and the next step is to split the gadget into each plug-in and load it as needed. Currently, the plug-in function is not perfect, follow-up Split each function into modules and load them as needed to reduce the size of the jar package);
4133

4234
#### Environmental construction instructions:
43-
- The development environment is jdk1.8, based on maven build
35+
- The development environment is jdk17, based on maven3.6.3 build
4436
- Developed with eclipase or Intellij Idea (Recommended to use [Intellij Idea](https://www.jetbrains.com/idea/) )
4537
- This project uses [lombok](https://projectlombok.org/) . If you have not downloaded the lombok plugin when viewing this project, please install it first, otherwise you can't find the get/set method.
4638
- The dependent [xcore](https://gitee.com/xwintop/xcore) package has been uploaded to the git-hosted maven platform. The git hosting maven can refer to the tutorial (if you can't download it, please pull the project to compile it yourself ). Tutorial address: Click to enter

assets/linux/xJavaFxTool.png

9.99 KB
Loading

assets/mac/xJavaFxTool.icns

363 KB
Binary file not shown.

assets/windows/xJavaFxTool.ico

270 KB
Binary file not shown.

build.gradle

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

gradlew

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)