Make it work in windows & fix build.gradle