I have a Gradle-build library which loads its configuration from file src/main/resources/config.properties the following way:
Now, I have a Application, which is non-Gradle built and has a module dependency to my library.
When executing my Application, the library cannot load the resources file (always null).
In the background, Intellij puts classes into build/classes and resources to build/resources folder. But when executing my application, the classpath only consists of the build/classes directory and is missing the build/resources part. How can this be fixed?