Adjusted the distribution method, now this project is totally gradlefied