restore build.gradle, use standalone deploy gradle build file and script