Updated build file to run from gradle.

SK