update build.gradle to support gradle 2.3