add gradle build script

add gradle build script