From fa4d0016f8d9c09a4649713adab505909b654a54 Mon Sep 17 00:00:00 2001 From: Piyush Jha Date: Wed, 16 Feb 2022 16:16:37 -0500 Subject: [PATCH] jenetics version compatible with java8 and 11 --- build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 83610444..873da930 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,12 @@ dependencies { implementation files("${checkerJar}") implementation group: 'com.google.errorprone', name: 'javac', version: "$errorproneJavacVersion" - implementation 'io.jenetics:jenetics:5.2.0' + if (isJava8) { + implementation 'io.jenetics:jenetics:5.2.0' + } + else { + implementation 'io.jenetics:jenetics:6.3.0' + } implementation 'org.plumelib:options:1.0.5' implementation 'org.plumelib:plume-util:1.5.8'