scalaVersion := "2.12.21"

lazy val core = project
  .settings(
    crossScalaVersions := Seq("2.12.21", "3.3.1", "3.5.1")
  )

lazy val subproj = project
  .dependsOn(core)
  .settings(
    crossScalaVersions := Seq("2.12.21", "3.5.1"),
    // a random library compiled against Scala 3.1
    libraryDependencies += "org.http4s" %% "http4s-core" % "0.23.28"
  )
