Adapted to Gradle 1.7 functionality
Adapted to Gradle 1.7 functionality