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

liam.j.bennett picture liam.j.bennett · Mar 31, 2010 · Viewed 17.5k times · Source

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?

Answer

Hans Dockter picture Hans Dockter · Apr 2, 2010

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