migrate the build script to to use a new gradle plugin in version 0.9