AbsaOSS / spark-commons

Apache License 2.0
7 stars 0 forks source link

Spark-commons should depend on Spark-commons-test only in tests #51

Closed benedeki closed 2 years ago

benedeki commented 2 years ago

Describe the bug

Spark-commons should depend on Spark-commons-test only in tests

To Reproduce

Check build.sbt:

lazy val `sparkCommons` = (projectMatrix in file("spark-commons"))
  .settings(commonSettings: _*)
  .sparkRow(SparkVersionAxis(spark2), scalaVersions = Seq(scala211, scala212))
  .sparkRow(SparkVersionAxis(spark3), scalaVersions = Seq(scala212))
  .dependsOn(sparkCommonsTest)