fix yarn jvm does not exit properly in the unit test
fix build dependency
adding in gradlew wrapper and also the make file