Closed oxmon-2500 closed 5 years ago
You need to add all the required JavaFX modules to the same list:
javafx {
version = "12"
modules = [ 'javafx.controls', 'javafx.media' ]
}
Thank you for your answer. Shame of me, I oversaw the 's' in modules! Everything works fine.
After adding a module to build.gradle: javafx { version = "12" modules = [ 'javafx.controls' ] modules = [ 'javafx.media' ] } "./gradlew build" produces an error "package javafx.scene.control does not exist"
OS: centos 64, java 12.0.1