Skip to content

Commit 02487f1

Browse files
committed
Bump cats-effect version, override protobuf-java version to the latest
1 parent bec4ba2 commit 02487f1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.sbt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ lazy val commonSettings = Seq(
1414
resolvers += Resolver.mavenLocal,
1515
resolvers += "Sonatype OSS Snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots",
1616
updateOptions := updateOptions.value.withLatestSnapshots(false),
17+
libraryDependencies += "com.google.protobuf" % "protobuf-java" % "3.21.9",
1718
scalacOptions ++= Seq(
1819
"-explain",
1920
"-explain-types",
@@ -22,7 +23,7 @@ lazy val commonSettings = Seq(
2223
"-unchecked",
2324
"-deprecation",
2425
// "-release:19",
25-
"-source:3.2"
26+
"-rewrite"
2627
),
2728
versionPolicyIntention := Compatibility.BinaryCompatible, //As long as we are pre 1.0.0, BinaryCompatible for a patch version bump and None for a minor version bump
2829
versionScheme := Some("early-semver"),
@@ -35,6 +36,7 @@ lazy val common = (crossProject(JSPlatform, JVMPlatform, NativePlatform)
3536
.settings(
3637
commonSettings,
3738
name := "onnx-scala-common",
39+
scalacOptions ++= Seq("-source:3.2"),
3840
crossScalaVersions := Seq(
3941
dottyVersion
4042
)
@@ -48,6 +50,7 @@ lazy val proto = (crossProject(JSPlatform, JVMPlatform, NativePlatform)
4850
.settings(
4951
commonSettings,
5052
name := "onnx-scala-proto",
53+
scalacOptions ++= Seq("-source:3.2"),
5154
// mimaPreviousArtifacts := Set("org.emergent-order" %%% "onnx-scala-proto" % "0.17.0"),
5255
crossScalaVersions := Seq(
5356
dottyVersion
@@ -68,6 +71,7 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform, NativePlatform)
6871
.settings(
6972
commonSettings,
7073
name := "onnx-scala-backends",
74+
scalacOptions ++= Seq("-source:3.2"),
7175
// mimaPreviousArtifacts := Set("org.emergent-order" %%% "onnx-scala-backends" % "0.17.0"),
7276
libraryDependencies ++= Seq(
7377
"com.microsoft.onnxruntime" % "onnxruntime" % "1.13.1",
@@ -108,6 +112,7 @@ lazy val core = (crossProject(JSPlatform, JVMPlatform, NativePlatform)
108112
.settings(
109113
commonSettings,
110114
name := "onnx-scala",
115+
scalacOptions ++= Seq("-source:3.2"),
111116
// mimaPreviousArtifacts := Set("org.emergent-order" %%% "onnx-scala" % "0.17.0"),
112117
crossScalaVersions := Seq(
113118
dottyVersion
@@ -117,7 +122,7 @@ lazy val core = (crossProject(JSPlatform, JVMPlatform, NativePlatform)
117122
case _ =>
118123
Seq(
119124
("org.typelevel" %%% "spire" % spireVersion),
120-
("org.typelevel" %%% "cats-effect" % "3.4.1")
125+
("org.typelevel" %%% "cats-effect" % "3.4.2")
121126
)
122127
})
123128
)

0 commit comments

Comments
 (0)