Skip to content

Commit

Permalink
Merge branch 'main' into generate-open-api
Browse files Browse the repository at this point in the history
  • Loading branch information
987Nabil authored Oct 25, 2023
2 parents 0eba475 + 01aa1e9 commit 9f2555c
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ ThisBuild / resolvers +=
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

// CI Configuration
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.graalvm(Graalvm.Distribution("graalvm"), "17"), JavaSpec.temurin("8"))
ThisBuild / githubWorkflowJavaVersions := Seq(
JavaSpec.graalvm(Graalvm.Distribution("graalvm"), "17"),
JavaSpec.temurin("8"),
)
ThisBuild / githubWorkflowPREventTypes := Seq(
PREventType.Opened,
PREventType.Synchronize,
Expand Down Expand Up @@ -104,17 +107,27 @@ inThisBuild(

ThisBuild / githubWorkflowBuildTimeout := Some(60.minutes)

lazy val aggregatedProjects: Seq[ProjectReference] =
if (Shading.shadingEnabled) {
Seq(
zioHttp,
zioHttpTestkit,
)
} else {
Seq(
zioHttp,
zioHttpBenchmarks,
zioHttpCli,
zioHttpExample,
zioHttpTestkit,
docs,
)
}

lazy val root = (project in file("."))
.settings(stdSettings("zio-http-root"))
.settings(publishSetting(false))
.aggregate(
zioHttp,
zioHttpBenchmarks,
zioHttpCli,
zioHttpExample,
zioHttpTestkit,
docs,
)
.aggregate(aggregatedProjects: _*)

lazy val zioHttp = (project in file("zio-http"))
.enablePlugins(Shading.plugins(): _*)
Expand Down

0 comments on commit 9f2555c

Please sign in to comment.