Force java version 1.8 in gradle
Fixed circular dependency on TypeTypeValue