Update build.gradle

Hacking my way through build script to test compatibility problems gradle 2.0 and gradle 1.x