chore(cache): update jcef cache log files
- Updated Extension Scripts log file entries - Modified shared_proto_db metadata log with new entries - Adjusted Site Characteristics Database log content - Refreshed Session Storage log data
This commit is contained in:
27
build.gradle
27
build.gradle
@@ -16,6 +16,11 @@ configurations {
|
||||
}
|
||||
|
||||
|
||||
javafx {
|
||||
version = "21"
|
||||
modules = [ 'javafx.controls', 'javafx.graphics', 'javafx.web' ]
|
||||
}
|
||||
|
||||
// JDK 版本检查
|
||||
def requiredJavaVersion = 20
|
||||
def currentJavaVersion = JavaVersion.current().majorVersion.toInteger()
|
||||
@@ -313,4 +318,26 @@ tasks.register('testModelTest2', JavaExec) {
|
||||
jvmArgs = [
|
||||
"-Dfile.encoding=UTF-8"
|
||||
]
|
||||
}
|
||||
|
||||
task printFxPath {
|
||||
doLast {
|
||||
// 1. 获取所有运行时依赖文件
|
||||
def runtimeClasspath = configurations.runtimeClasspath.files
|
||||
|
||||
// 2. 筛选出所有名字包含 "javafx" 的 jar 包
|
||||
def javafxJars = runtimeClasspath.findAll { file ->
|
||||
file.name.contains("javafx")
|
||||
}
|
||||
|
||||
// 3. 获取这些 jar 包的绝对路径
|
||||
def javafxPaths = javafxJars.collect { it.absolutePath }
|
||||
|
||||
// 4. 使用系统的路径分隔符 (Windows是';', Linux/macOS是':') 将它们连接起来
|
||||
def modulePath = javafxPaths.join(System.getProperty("path.separator"))
|
||||
|
||||
println "========================================================================"
|
||||
println "COPY THIS JavaFX Module Path: " + modulePath
|
||||
println "========================================================================"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user