Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove unnecessary dependencies #1255

Merged
merged 1 commit into from
May 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: remove unnecessary dependencies
  • Loading branch information
tusharmath committed May 14, 2022
commit a1cd0f1aa5c1c9f03f45087842b001fe3bcc0b50
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -95,8 +95,7 @@ lazy val zhttp = (project in file("zio-http"))
.settings(meta)
.settings(
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
libraryDependencies ++= Seq(
netty,
libraryDependencies ++= netty ++ Seq(
`zio`,
`zio-streams`,
`zio-test`,
10 changes: 9 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
@@ -11,7 +11,15 @@ object Dependencies {
val `jwt-core` = "com.github.jwt-scala" %% "jwt-core" % JwtCoreVersion
val `scala-compact-collection` = "org.scala-lang.modules" %% "scala-collection-compat" % ScalaCompactCollectionVersion

val netty = "io.netty" % "netty-all" % NettyVersion
val netty =
Seq(
"netty-codec-http",
"netty-transport-native-epoll",
"netty-transport-native-kqueue",
).map { name =>
"io.netty" % name % NettyVersion
}

val `netty-incubator` =
"io.netty.incubator" % "netty-incubator-transport-native-io_uring" % NettyIncubatorVersion classifier "linux-x86_64"