using gradle to build project