I am working on a java ant+ivy based project that has the following directory structure:
projectRoot/src
projectRoot/classes
projectRoot/conf
projectRoot/webservices
It is very easy with Gradle to adapt to any directory structure. See the Working with source sets section of the Gradle User Guide.