Skip to content

Commit

Permalink
Revert shading (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed May 17, 2023
1 parent 983b4bf commit 88cd653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 2 additions & 17 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ val removeSmithy4sDependenciesFromManifest =
}
}
lazy val `smithy4s-client` = projectMatrix
.enablePlugins(Smithy4sCodegenPlugin, ShadingPlugin)
.enablePlugins(Smithy4sCodegenPlugin)
.settings(
description := "Cats tooling for the Smithy4s Kinesis Client",
libraryDependencies ++= Seq(
Expand All @@ -307,22 +307,7 @@ lazy val `smithy4s-client` = projectMatrix
Compile / smithy4sSmithyLibrary := false,
scalacOptions -= "-deprecation",
tlJdkRelease := Some(11),
removeSmithy4sDependenciesFromManifest,
shadedModules += S4S.kinesis.module,
shadedModules += Smithy
.rulesEngine(smithy4s.codegen.BuildInfo.smithyVersion)
.module,
shadingRules ++= Seq(
ShadingRule.moveUnder(
"smithy.rules",
"kinesis4cats.internal.shaded.smithy4s.rules"
),
ShadingRule.moveUnder(
"com.amazonaws",
"kinesis4cats.internal.shaded.com.amazonaws"
)
),
validNamespaces += "kinesis4cats"
removeSmithy4sDependenciesFromManifest
)
.jvmPlatform(last2ScalaVersions)
.nativePlatform(Seq(Scala3))
Expand Down
2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6")
// Older versions exit sbt on compilation failures.
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.7")

addSbtPlugin("io.get-coursier" % "sbt-shading" % "2.1.1")

libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "compilerplugin" % "0.11.13",
"org.slf4j" % "slf4j-nop" % "2.0.7"
Expand Down

0 comments on commit 88cd653

Please sign in to comment.