Change builder to Gradle