From a4b84aa2580f3c8f9a9ea87758a8605529449f04 Mon Sep 17 00:00:00 2001 From: MohdSiddique Bagwan Date: Thu, 3 Nov 2022 17:29:09 +0530 Subject: [PATCH] compile ranger plugin for java 8 --- datahub-ranger-plugin/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/datahub-ranger-plugin/build.gradle b/datahub-ranger-plugin/build.gradle index 452e030be8d674..9f596bbadb5c7f 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'