Hi,

I'm just curious,

    sourceSets {
        main {
            resources {
                srcDirs"src/main/java" }
        }
      }

Is it good practice to define the resources dir equal to the src dir?

I think, this might cause problems including:

 * it (at least unnecessarily) confuses Gradle's build cache
 * resources are deployed to the final result, so sources might be
   deployed together with the them
 * NB show src and resources separately in the logical Projects view
   and might be confused about this configuration

Greetings,

Bernd


Reply via email to