Port To Gradle

1.7.2 Still errors though