we change the default resource output folder with:
sourceSets.main.output.resourcesDir = sourceSets.main.output.classesDir
and we have the problem, that the generated jar file has everything dupicated. Class files and resources. And I saw that we can’t change the source property of the jar task because it’s read only. How can we achieve that the standard jar task of the java plugin creates a correct jar file?
Thanks in advance.