Add openjfx to testImplementation dependencies

This commit is contained in:
Haowei Wen 2022-04-29 21:23:17 +08:00 committed by Yuhui Huang
parent 565fc1f7b6
commit cb051c033f

View File

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