Background (on my setup):
Intellij compiles into "build/classes", and copies the resources into this folder, this folder is used as classPath when running.
our Gradle also compiles into "build/classes", but copies resources into "build/resources/main/", and uses both fileTrees in the classPath.
When I run a clean + classes in gradle, my build folder is deleted, then created without resources in (as gradle puts them elswhere). When I later run a Main from within Intellij, it appears to run a Make, but it doesn't copy the resources into my build folder (perhaps because all the class files are already there).
Is it a bad idea to have gradle and intellij compile to the same output directory? We were hoping it would save some time, because we alternate between running from Gradle and IntelliJ.
I don't know if this is a bug, or if sharing compile output folder between gradle and intellij is not a supported usecase.
any advice is welcome.