Java6 as base line for gradle.ui plugin to fix compile error.