Fixed problem with configuration of the 'sourceDir' folder. Use now the conventionMapping for it.

- Added Gradle 2.0 support