From 78b61d4ae4d349aa7966dd0c9637d373f2df48d6 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Wed, 25 Jul 2018 13:45:16 +0100 Subject: [PATCH] ENT-1463, ENT-1903: Only build deterministic modules when using JDK8. (#3643) --- settings.gradle | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/settings.gradle b/settings.gradle index 0cb65be579..fd98fba0ab 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,10 +5,6 @@ include 'confidential-identities' include 'finance' include 'finance:isolated' include 'core' -include 'core-deterministic' -include 'core-deterministic:testing' -include 'core-deterministic:testing:common' -include 'core-deterministic:testing:data' include 'docs' include 'node-api' include 'node' @@ -60,4 +56,11 @@ include 'samples:bank-of-corda-demo' include 'samples:cordapp-configuration' include 'samples:network-verifier' include 'serialization' -include 'serialization-deterministic' + +if (JavaVersion.current() == JavaVersion.VERSION_1_8) { + include 'core-deterministic' + include 'core-deterministic:testing' + include 'core-deterministic:testing:common' + include 'core-deterministic:testing:data' + include 'serialization-deterministic' +}