Use gradle and maven for build project