From 8deab69661e230ea729210ab02380f698673a301 Mon Sep 17 00:00:00 2001 From: davidl Date: Sun, 12 Jun 2022 20:26:21 +0200 Subject: [PATCH] Add deps for native epoll/kqueue --- project/Dependencies.scala | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 83243074c5..62e8451e2e 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -14,12 +14,14 @@ object Dependencies { val netty = Seq( - "netty-codec-http", - "netty-transport-native-epoll", - "netty-transport-native-kqueue", - ).map { name => - "io.netty" % name % NettyVersion - } + "io.netty" % "netty-codec-http" % NettyVersion, + "io.netty" % "netty-transport-native-epoll" % NettyVersion, + "io.netty" % "netty-transport-native-epoll" % NettyVersion % Runtime classifier "linux-x86_64", + "io.netty" % "netty-transport-native-epoll" % NettyVersion % Runtime classifier "linux-aarch_64", + "io.netty" % "netty-transport-native-kqueue" % NettyVersion, + "io.netty" % "netty-transport-native-kqueue" % NettyVersion % Runtime classifier "osx-x86_64", + "io.netty" % "netty-transport-native-kqueue" % NettyVersion % Runtime classifier "osx-aarch_64", + ) val `netty-incubator` = "io.netty.incubator" % "netty-incubator-transport-native-io_uring" % NettyIncubatorVersion classifier "linux-x86_64"