Skip to content

Commit

Permalink
Trying to fix publishing (#2495)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo authored Oct 24, 2023
1 parent ff8563a commit 01aa1e9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ZIO HTTP is a scala library for building http apps. It is powered by ZIO and [Ne
Setup via `build.sbt`:

```scala
libraryDependencies += "dev.zio" %% "zio-http" % "3.0.0-RC2"
libraryDependencies += "dev.zio" %% "zio-http" % "3.0.0-RC3"
```

**NOTES ON VERSIONING:**
Expand Down
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 01aa1e9

Please sign in to comment.