guardrail-dev / sbt-guardrail

Principled code generation from OpenAPI specifications
https://guardrail.dev
MIT License
26 stars 17 forks source link

Delete direct modules in favor of consumer-side module management #225

Closed blast-hardcheese closed 1 year ago

blast-hardcheese commented 1 year ago

With direct module dependencies, scala-steward can bump individual modules using a semver strategy instead of a monolithic version number obscuring actual changes under the hood.

Instead of

addSbtPlugin("dev.guardrail" % "sbt-guardrail" % "0.75.2")

add the explicit modules you need:

addSbtPlugin("dev.guardrail" % "sbt-guardrail" % "1.0.0")
libraryDependencies += "dev.guardrail" %% "guardrail-scala-support" % "1.0.0"
libraryDependencies += "dev.guardrail" %% "guardrail-scala-http4s" % "1.0.0"

This should save CI cycles since you'll only get version bumps for code you actually use.