Skip to content
Draft
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
26 changes: 19 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,13 @@ lazy val core = projectMatrix
"smithy4s.http.HttpUnaryServerRouter.partialFunction"
),
// originating in an Alloy update that removed ProtoCompactOffsetDateTime
ProblemFilters.exclude[MissingClassProblem]("alloy.proto.ProtoCompactOffsetDateTime"),
ProblemFilters.exclude[MissingClassProblem](
"alloy.proto.ProtoCompactOffsetDateTime"
),
// originating in an Alloy update that removed ProtoCompactOffsetDateTime
ProblemFilters.exclude[MissingClassProblem]("alloy.proto.ProtoCompactOffsetDateTime$"),
ProblemFilters.exclude[MissingClassProblem](
"alloy.proto.ProtoCompactOffsetDateTime$"
)
)
)
.jvmPlatform(allJvmScalaVersions, jvmDimSettings)
Expand Down Expand Up @@ -352,7 +356,8 @@ lazy val `aws-kernel` = projectMatrix
"-Wconf:msg=class Ec2Query in package (aws\\.)?protocols is deprecated:silent",
"-Wconf:msg=class RestXml in package (aws\\.)?protocols is deprecated:silent",
"-Wconf:msg=value noErrorWrapping in class RestXml is deprecated:silent"
)
),
isMimaEnabled := true
)
.jvmPlatform(allJvmScalaVersions, jvmDimSettings)
.jsPlatform(
Expand Down Expand Up @@ -400,6 +405,7 @@ lazy val `aws-http4s` = projectMatrix
"-Wconf:msg=class RestXml in package (aws\\.)?protocols is deprecated:silent",
"-Wconf:msg=value noErrorWrapping in class RestXml is deprecated:silent"
),
isMimaEnabled := true,
Test / complianceTestDependencies := Seq(
Dependencies.Smithy.`aws-protocol-tests`
),
Expand Down Expand Up @@ -721,7 +727,8 @@ lazy val dynamic = projectMatrix
files
.map(f => (f, f.relativeTo(base)))
.collect { case (f, Some(relF)) => f -> relF.getPath() }
}
},
isMimaEnabled := true
)
.jvmPlatform(
allJvmScalaVersions,
Expand Down Expand Up @@ -770,7 +777,7 @@ lazy val xml = projectMatrix
scalacheck % "test -> compile"
)
.settings(
isMimaEnabled := false,
isMimaEnabled := true,
libraryDependencies ++= Seq(
Dependencies.Fs2Data.xml.value
) ++ weaverDeps.value,
Expand All @@ -793,7 +800,7 @@ lazy val protobuf = projectMatrix
scalacheck % "test -> compile"
)
.settings(
isMimaEnabled := false,
isMimaEnabled := true,
libraryDependencies ++= munitDeps.value,
libraryDependencies ++= {
if (virtualAxes.value.contains(VirtualAxis.jvm))
Expand Down Expand Up @@ -892,6 +899,7 @@ lazy val `http4s-swagger` = projectMatrix
.in(file("modules/http4s-swagger"))
.dependsOn(http4s)
.settings(
isMimaEnabled := true,
libraryDependencies ++= {
Seq(
Dependencies.Webjars.swaggerUi,
Expand Down Expand Up @@ -945,7 +953,8 @@ lazy val tests = projectMatrix
Compile / smithySpecs := Seq(
(ThisBuild / baseDirectory).value / "sampleSpecs" / "pizza.smithy"
),
Compile / sourceGenerators := Seq(genSmithyScala(Compile).taskValue)
Compile / sourceGenerators := Seq(genSmithyScala(Compile).taskValue),
isMimaEnabled := true
)
.http4sPlatform(allJvmScalaVersions, jvmDimSettings)

Expand Down Expand Up @@ -982,6 +991,9 @@ lazy val complianceTests = projectMatrix
Dependencies.Fs2Data.xml.value
) ++ weaverDeps.value
}
// TODO: add in 0.19?
// add now with a high baseline?
// isMimaEnabled := true
)
.http4sPlatform(allJvmScalaVersions, jvmDimSettings)

Expand Down
Loading