Update build.gradle for building example