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' +}