I have a
config.groovy file in
src/main/resources directory. It is actually a Groovy script, but the main code requires it as text, not compiled class.
compileGroovy task compiles it, and resulting jar has no resource inside, and
Is it intended behavior, or something wrong? And is there some simple workaround except changing filename extension?
I use Gradle 4.3.