From 23332231d904a402a6ff9498cd7a818a6591304c Mon Sep 17 00:00:00 2001 From: Benjamin Muskalla Date: Fri, 27 Nov 2020 13:58:57 +0100 Subject: [PATCH] fix compatibility #2 --- instrumentation/rmi/rmi.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/instrumentation/rmi/rmi.gradle b/instrumentation/rmi/rmi.gradle index b0f98217e8b1..e55f16db2019 100644 --- a/instrumentation/rmi/rmi.gradle +++ b/instrumentation/rmi/rmi.gradle @@ -25,7 +25,11 @@ java { tasks.withType(JavaCompile) { options.release = null + sourceCompatibility = JavaVersion.toVersion(project.ext.release) + targetCompatibility = JavaVersion.toVersion(project.ext.release) } tasks.withType(GroovyCompile) { options.release = null + sourceCompatibility = JavaVersion.toVersion(project.ext.release) + targetCompatibility = JavaVersion.toVersion(project.ext.release) }