Search code examples
javamavenantivygradle

Can Gradle handle a build directory structure that does not conform default conventions?


I am working on a + based project that has the following directory structure:

projectRoot/src
projectRoot/classes
projectRoot/conf
projectRoot/webservices

this works perfectly well in but I am looking to migrate to .

Is there a way to define a non-maven directory structure in Gradle or should I be looking to mavenize?


Solution

  • It is very easy with Gradle to adapt to any directory structure. See the Working with source sets section of the Gradle User Guide.