From 3e17e9b5121d56a369715777250cb6db628e273e Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sun, 10 Mar 2024 21:49:31 +0800 Subject: [PATCH] Make it compile --- build.sbt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index f1f8ebfcd..330875d39 100644 --- a/build.sbt +++ b/build.sbt @@ -9,11 +9,18 @@ lazy val logback = "ch.qos.logback" % "logback-classic" enablePlugins(ZioSbtEcosystemPlugin, ZioSbtCiPlugin) +lazy val _scala213 = "2.13.13" +lazy val _scala3 = "3.3.3" + inThisBuild( List( name := "ZIO Kafka", zioVersion := "2.0.21", - crossScalaVersions := List("2.13.13", "3.3.3"), + scalaVersion := _scala213, + // zio-sbt defines these 'scala213' and 'scala3' settings, but we need to define them here to override the defaults and better control them + scala213 := _scala213, + scala3 := _scala3, + crossScalaVersions := List(scala213.value, scala3.value), // We only support Scala 2.13+ and 3+. See https://github.com/zio/zio-kafka/releases/tag/v2.7.0 ciEnabledBranches := Seq("master", "series/0.x"), useCoursier := false, Test / parallelExecution := false,