Specify used java version in build.gradle.