adopt gradle
fix rake task