liam.j.bennett liam.j.bennett - 3 years ago 216
Java Question

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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download