From b0a5d083b0b0ec96f8106cbff60a7748acace595 Mon Sep 17 00:00:00 2001 From: alexcardell <29524087+alexcardell@users.noreply.github.com> Date: Fri, 20 Sep 2024 10:07:45 +0100 Subject: [PATCH] Add Java Provider modules --- build.sbt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/build.sbt b/build.sbt index 26c4be3..aef7733 100644 --- a/build.sbt +++ b/build.sbt @@ -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, @@ -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,