@irotsoma: I think it's a good idea to keep FXML files in src/main/resources. I use Maven, but that's how I do it. I have only limited experience with Gradle, but with Maven it's very easy to filter/include */.fxml so that they can reside next to the source files, and there is no limit to how many filter expressions you can have. I wouldn't think this is a limitation of Gradle either. If you want to switch, I'm sure the Gradle folks can help you on the right track. It would be interesting to know if you figure out a good way to do it though.