Gradle: Accept resource files in src/main/java folder
<p>Is there a way to convince Gradle to accept resource files (like XML files) as well in the <code>src/main/java</code> folder?</p>

<p>This would be great since I need to put my JavaFX XML files there ...</p>