My Gradle project is not including packages containing data and shaders

Anything under src/main/resources will ultimately end up packed inside the jar (or war) and be available at runtime on the classpath.

Eg: src/main/resources/foo/bar.txt can be accessed via getClass().getClassLoader().getResourceAsStream("/foo/bar.txt")

1 Like