Skip to content

Commit

Permalink
mima comparison failing (#224)
Browse files Browse the repository at this point in the history
* mima comparison failing

* Update build.sbt
  • Loading branch information
pjfanning authored Feb 8, 2024
1 parent cc4a1d0 commit ffd1b49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ lazy val codegen = Project(id = "codegen", base = file("codegen"))
.settings(addArtifact(Compile / assembly / artifact, assembly))
.settings(addArtifact(Artifact(pekkoGrpcCodegenId, "bat", "bat", "bat"), mkBatAssemblyTask))

val mimaCompareVersion = "1.0.2"

lazy val runtime = Project(id = "runtime", base = file("runtime"))
.settings(Dependencies.runtime)
.settings(VersionGenerator.settings)
Expand All @@ -96,8 +98,8 @@ lazy val runtime = Project(id = "runtime", base = file("runtime"))
.settings(
name := pekkoGrpcRuntimeName,
mimaFailOnNoPrevious := true,
mimaPreviousArtifacts := previousStableVersion.value.map(v =>
Set(organization.value %% "pekko-grpc-runtime" % v)).getOrElse(Set.empty),
mimaPreviousArtifacts := Set(
organization.value %% "pekko-grpc-runtime" % mimaCompareVersion),
AutomaticModuleName.settings("pekko.grpc.runtime"),
ReflectiveCodeGen.generatedLanguages := Seq("Scala"),
ReflectiveCodeGen.extraGenerators := Seq("ScalaMarshallersCodeGenerator"),
Expand Down

0 comments on commit ffd1b49

Please sign in to comment.