Skip to content

Commit

Permalink
Trying to fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Oct 24, 2023
1 parent ff8563a commit d632d28
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 d632d28

Please sign in to comment.