Gradle + initial 1.7 conversion

Untested and likely does not work