Use gradle 1.8 and jdk 1.6