Check the sourceset definition in your buildscript.

You can also open the the project properties (by right clicking on the project), then click on the sources to see which directories are reported back to to the defined sourecesets.

I'm guessing the resources dir has been added to the java dirs as an extra in your build script for whatever reason.

On 10/9/19 4:53 AM, Jonathan Bergh wrote:
hi there,

just a quick question regarding the Gradle support built into Netbeans 11 - my IDE is showing the source code under both
 - Source packages [java], as well as
 - Resources [java]

I get the correct contents for:
 - Resources [main], which contains all the project FXML etc.

Is this a misconfiguration in our build.gradle, or something else?

My project structure is the same as i would normally use when building with  Maven, ie
  - src
     - main
        - java
        - resources
     - test

See attached.

Thanks in advance
Cheers
Jonathan

Capture1.PNG
Capture.PNG

Reply via email to