Skip to content

Commit

Permalink
Close #272 - Add refined4s-tapir to support tapir
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lee committed Apr 3, 2024
1 parent 7a8598e commit c75f3b6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build.sbt
Expand Up @@ -75,6 +75,8 @@ lazy val refined4s = (project in file("."))
refinedCompatScala2Js,
refinedCompatScala3Jvm,
refinedCompatScala3Js,
tapirJvm,
tapirJs,
)

lazy val core = module("core", crossProject(JVMPlatform, JSPlatform))
Expand Down Expand Up @@ -195,6 +197,18 @@ lazy val refinedCompatScala3 = module("refined-compat-scala3", crossProject(J
lazy val refinedCompatScala3Jvm = refinedCompatScala3.jvm
lazy val refinedCompatScala3Js = refinedCompatScala3.js.settings(jsSettingsForFuture)

lazy val tapir = module("tapir", crossProject(JVMPlatform, JSPlatform))
.settings(
libraryDependencies ++= List(
libs.tapirCore,
)
)
.dependsOn(
core % props.IncludeTest
)
lazy val tapirJvm = tapir.jvm
lazy val tapirJs = tapir.js.settings(jsSettingsForFuture)

lazy val docs = (project in file("docs-gen-tmp/docs"))
.enablePlugins(MdocPlugin, DocusaurPlugin)
.settings(
Expand Down Expand Up @@ -285,6 +299,8 @@ lazy val props =
val LogbackVersion = "1.4.14"

val KittensVersion = "3.0.0"

val TapirVersion = "1.0.6"
}

lazy val libs = new {
Expand Down Expand Up @@ -322,6 +338,8 @@ lazy val libs = new {
lazy val hedgehogRunner = "qa.hedgehog" %% "hedgehog-runner" % props.HedgehogVersion
lazy val hedgehogSbt = "qa.hedgehog" %% "hedgehog-sbt" % props.HedgehogVersion

lazy val tapirCore = "com.softwaremill.sttp.tapir" %% "tapir-core" % props.TapirVersion

lazy val tests = new {

lazy val hedgehog: List[ModuleID] =
Expand Down

0 comments on commit c75f3b6

Please sign in to comment.