Got gradle working with 1.6.4, other things

Attempted to do what i've done in the 1.7.2 branch