From 5784cd569be4562e0e091d6a7be2ec9d329ed737 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Sun, 12 Apr 2020 11:42:51 +1000 Subject: [PATCH] chore: skip scala module on appveyor --- settings.gradle | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/settings.gradle b/settings.gradle index 60812a3f4a..f98e20372c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -16,8 +16,10 @@ include 'consumer:pact-jvm-consumer-java8' include 'consumer:pact-jvm-consumer-junit' include 'consumer:pact-jvm-consumer-junit5' -include 'consumer:pact-jvm-consumer-specs2_2.12' -project(':consumer:pact-jvm-consumer-specs2_2.12').projectDir = file('consumer/pact-jvm-consumer-specs2') +if (System.getenv("APPVEYOR") == null) { + include 'consumer:pact-jvm-consumer-specs2_2.12' + project(':consumer:pact-jvm-consumer-specs2_2.12').projectDir = file('consumer/pact-jvm-consumer-specs2') +} include 'provider:pact-jvm-provider' include 'provider:pact-jvm-provider-gradle' @@ -29,12 +31,14 @@ include 'provider:pact-jvm-provider-junit5-spring' include 'provider:pact-jvm-provider-lein' -include 'provider:pact-jvm-provider-specs2_2.12' -project(':provider:pact-jvm-provider-specs2_2.12').projectDir = file('provider/pact-jvm-provider-specs2') -include 'provider:pact-jvm-provider-scalatest_2.12' -project(':provider:pact-jvm-provider-scalatest_2.12').projectDir = file('provider/pact-jvm-provider-scalatest') -include 'provider:pact-jvm-provider-scalasupport_2.12' -project(':provider:pact-jvm-provider-scalasupport_2.12').projectDir = file('provider/pact-jvm-provider-scalasupport') +if (System.getenv("APPVEYOR") == null) { + include 'provider:pact-jvm-provider-specs2_2.12' + project(':provider:pact-jvm-provider-specs2_2.12').projectDir = file('provider/pact-jvm-provider-specs2') + include 'provider:pact-jvm-provider-scalatest_2.12' + project(':provider:pact-jvm-provider-scalatest_2.12').projectDir = file('provider/pact-jvm-provider-scalatest') + include 'provider:pact-jvm-provider-scalasupport_2.12' + project(':provider:pact-jvm-provider-scalasupport_2.12').projectDir = file('provider/pact-jvm-provider-scalasupport') +} if (System.getenv("APPVEYOR") == null) { include 'pact-jvm-server'