ThisBuild / organization := "com.socrata"

ThisBuild / testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oFD")

ThisBuild / scalaVersion := "2.12.8"

ThisBuild / resolvers += "socrata maven" at "https://repo.socrata.com/artifactory/libs-release"

ThisBuild / scalacOptions ++= Seq("-deprecation", "-feature")

ThisBuild / classLoaderLayeringStrategy in Test := ClassLoaderLayeringStrategy.ScalaLibrary

val coordinatorExternal = (project in file("coordinator-external")).
  configs(IntegrationTest).
  settings(Defaults.itSettings)

val coordinatorlib = (project in file("coordinatorlib")).
  configs(IntegrationTest).
  settings(Defaults.itSettings)

val coordinator = (project in file("coordinator")).
  dependsOn(coordinatorlib, coordinatorExternal)

val secondarylib = (project in file("secondarylib")).
  dependsOn(coordinatorlib)

val dummySecondary = (project in file("dummy-secondary")).
  dependsOn(secondarylib % "provided")

val secondarylibFeedback = (project in file("secondarylib-feedback")).
  dependsOn(secondarylib)

publish / skip := true

releaseProcess -= ReleaseTransformations.publishArtifacts

disablePlugins(AssemblyPlugin)

ThisBuild / organization := "com.socrata"

ThisBuild / testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oFD")

ThisBuild / scalaVersion := "2.12.8"

ThisBuild / resolvers += "socrata maven" at "https://repo.socrata.com/artifactory/libs-release"

ThisBuild / scalacOptions ++= Seq("-deprecation", "-feature")

val coordinatorExternal = (project in file("coordinator-external")).
  configs(IntegrationTest).
  settings(Defaults.itSettings)

val coordinatorlib = (project in file("coordinatorlib")).
  configs(IntegrationTest).
  settings(Defaults.itSettings)

val coordinator = (project in file("coordinator")).
  dependsOn(coordinatorlib, coordinatorExternal)

val secondarylib = (project in file("secondarylib")).
  dependsOn(coordinatorlib)

val dummySecondary = (project in file("dummy-secondary")).
  dependsOn(secondarylib % "provided")

val secondarylibFeedback = (project in file("secondarylib-feedback")).
  dependsOn(secondarylib)

publish / skip := true

releaseProcess -= ReleaseTransformations.publishArtifacts

disablePlugins(AssemblyPlugin)

--- 
+++ 
@@ -7,6 +7,8 @@
 ThisBuild / resolvers += "socrata maven" at "https://repo.socrata.com/artifactory/libs-release"
 
 ThisBuild / scalacOptions ++= Seq("-deprecation", "-feature")
+
+ThisBuild / classLoaderLayeringStrategy in Test := ClassLoaderLayeringStrategy.ScalaLibrary
 
 val coordinatorExternal = (project in file("coordinator-external")).
   configs(IntegrationTest).
Set the classLoaderLayeringStrategty to ScalaLibrary

Running out of metaspace in Jenkins, and this is a hint SBT gives for
solving that.
