From 799c2a1f29ee8651469ad182dc373019ec751d85 Mon Sep 17 00:00:00 2001 From: Andrei Davydov Date: Tue, 27 Jun 2023 00:08:39 +0300 Subject: [PATCH] Java: Fix sourceCompatibility --- java/dfp-math/build.gradle | 6 +----- java/dfpNativeTests/build.gradle | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/java/dfp-math/build.gradle b/java/dfp-math/build.gradle index ef9ac990..27977397 100644 --- a/java/dfp-math/build.gradle +++ b/java/dfp-math/build.gradle @@ -9,11 +9,7 @@ if (isReleaseVersion) { group = 'com.epam.deltix' -sourceCompatibility = 1.7 -compileTestJava { - sourceCompatibility = "1.8" - targetCompatibility = "1.8" -} +sourceCompatibility = 8 repositories { mavenCentral() diff --git a/java/dfpNativeTests/build.gradle b/java/dfpNativeTests/build.gradle index 510746a2..ae8ee39a 100644 --- a/java/dfpNativeTests/build.gradle +++ b/java/dfpNativeTests/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'me.champeau.gradle.jmh' group = 'com.epam.deltix' -sourceCompatibility = 1.8 +sourceCompatibility = 8 repositories { mavenCentral()