diff --git a/datahub-ranger-plugin/build.gradle b/datahub-ranger-plugin/build.gradle index 452e030be8d67..9f596bbadb5c7 100644 --- a/datahub-ranger-plugin/build.gradle +++ b/datahub-ranger-plugin/build.gradle @@ -18,6 +18,11 @@ test { useJUnit() } +compileJava { + sourceCompatibility = '1.8' + targetCompatibility = '1.8' +} + dependencies { implementation 'org.apache.ranger:ranger-plugins-common:2.2.0' compile 'org.apache.logging.log4j:log4j-1.2-api:2.17.1'