Open dmaftule opened 4 years ago
Hi,
If you want to add a new sourceSet's src directory, the Java plugin has an easy way to achieve this:
sourceSets {
main {
java {
srcDir 'src/mm/java'
}
}
}
This is still a problem - can it be fixed ?
Maybe this is not an actual issue, but here are the steps I followed. I'm using IntelliJ, JDK14, Gradle 6.4. I took your sample, which compiled and ran fine, and added another folder
mm
with a copy of HelloFX class (MyFile.java
).I changed the gradle.build file to be:
The build and run tasks for the project still work fine, just as before adding the extra folder.
However, when executing the
compileMmJava
task, I get errors:It looks like JavaFX is not visible for
mm
folder.