Exclude JavaFX (#2073)

This commit is contained in:
Glavo 2023-02-06 22:54:41 +08:00 committed by GitHub
parent 6e20ce4db3
commit 94b54f3dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ if (!jfxInClasspath && JavaVersion.current() >= JavaVersion.VERSION_11) {
val classifier = platform.classifier
rootProject.subprojects {
for (module in jfxModules) {
dependencies.add("implementation", "$groupId:javafx-$module:$version:$classifier")
dependencies.add("compileOnly", "$groupId:javafx-$module:$version:$classifier")
dependencies.add("testImplementation", "$groupId:javafx-$module:$version:$classifier")
}
}