Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Add Scala 3 build and update twitter-util to latest (22.12.0) #316

Open
wants to merge 1 commit into
base: series/2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
java: ['[email protected]', '[email protected]']
scala: ['2.12.15', '2.13.8']
scala: ['2.12.15', '2.13.8', '3.3.0']
steps:
- name: Checkout current branch
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lazy val twitter = project
.settings(
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % Zio,
"com.twitter" %% "util-core" % "21.2.0",
"com.twitter" %% "util-core" % "22.12.0" cross CrossVersion.for3Use2_13,
"dev.zio" %% "zio-test" % Zio % Test,
"dev.zio" %% "zio-test-sbt" % Zio % Test
)
Expand Down
3 changes: 2 additions & 1 deletion project/BuildHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ object BuildHelper {

val Scala212: String = versions("2.12")
val Scala213: String = versions("2.13")
val Scala3: String = versions("3.3")

val Zio: String = "2.0.15"

Expand All @@ -36,7 +37,7 @@ object BuildHelper {
def stdSettings(prjName: String) =
Seq(
name := s"$prjName",
crossScalaVersions := List(Scala212, Scala213),
crossScalaVersions := List(Scala212, Scala213, Scala3),
ThisBuild / scalaVersion := Scala213,
scalacOptions := stdOptions ++ extraOptions(scalaVersion.value, optimize = !isSnapshot.value),
Test / parallelExecution := true,
Expand Down