Skip to content

Commit

Permalink
Add Java Provider modules
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcardell committed Sep 20, 2024
1 parent b7c56f3 commit b0a5d08
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ lazy val projects = Seq(
`openfeature-sdk`,
`openfeature-sdk-circe`,
`openfeature-provider-memory`,
`openfeature-provider-java`,
`openfeature-provider-java-it`,
`openfeature-provider-flipt`,
`openfeature-provider-flipt-it`,
examples,
Expand Down Expand Up @@ -128,6 +130,32 @@ lazy val `openfeature-provider-memory` = crossProject(
)
.dependsOn(`openfeature-sdk`)

lazy val `openfeature-provider-java` = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("openfeature/provider-java"))
.settings(commonDependencies)
.settings(
libraryDependencies ++= Seq(
"dev.openfeature" % "sdk" % "1.10.0"
)
)
.dependsOn(`openfeature-sdk`)

lazy val `openfeature-provider-java-it` = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("openfeature/provider-java-it"))
.enablePlugins(NoPublishPlugin)
.settings(commonDependencies)
.settings(
libraryDependencies ++= Seq(
"dev.openfeature.contrib.providers" % "flagd" % "0.8.9" % Test,
"com.dimafeng" %% "testcontainers-scala-munit" % V.testcontainers % Test
)
)
.dependsOn(
`openfeature-provider-java`
)

lazy val `openfeature-provider-flipt` = crossProject(
JVMPlatform,
JSPlatform,
Expand Down

0 comments on commit b0a5d08

Please sign in to comment.