|
1 | 1 | (def netty-version "4.1.74.Final")
|
2 | 2 |
|
3 |
| -(def netty-modules |
4 |
| - '[transport |
5 |
| - [transport-native-epoll "linux-x86_64"] |
6 |
| - codec |
7 |
| - codec-http |
8 |
| - handler |
9 |
| - handler-proxy |
10 |
| - resolver |
11 |
| - resolver-dns]) |
12 |
| - |
13 |
| -(defn netty-module [version name] |
14 |
| - (let [[name classifier] (if (vector? name) name [name nil]) |
15 |
| - s (symbol "io.netty" (str "netty-" name))] |
16 |
| - (if (nil? classifier) |
17 |
| - (vector s version) |
18 |
| - (vector s version :classifier classifier)))) |
19 |
| - |
20 |
| -(def other-dependencies |
21 |
| - '[[org.clojure/tools.logging "1.1.0" :exclusions [org.clojure/clojure]] |
22 |
| - [org.clj-commons/dirigiste "1.0.1"] |
23 |
| - [manifold "0.2.4"] |
24 |
| - [org.clj-commons/byte-streams "0.3.1"] |
25 |
| - [org.clj-commons/primitive-math "1.0.0"] |
26 |
| - [potemkin "0.4.5"]]) |
27 |
| - |
28 | 3 | (defproject aleph (or (System/getenv "PROJECT_VERSION") "0.5.0")
|
29 | 4 | :description "A framework for asynchronous communication"
|
30 | 5 | :repositories {"jboss" "https://repository.jboss.org/nexus/content/groups/public/"
|
31 | 6 | "sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"}
|
32 | 7 | :url "https://github.com/clj-commons/aleph"
|
33 | 8 | :license {:name "MIT License"}
|
34 |
| - :dependencies ~(concat |
35 |
| - other-dependencies |
36 |
| - (map (partial netty-module netty-version) netty-modules)) |
| 9 | + :dependencies [[org.clojure/tools.logging "1.1.0" :exclusions [org.clojure/clojure]] |
| 10 | + [org.clj-commons/dirigiste "1.0.1"] |
| 11 | + [manifold "0.2.4"] |
| 12 | + [org.clj-commons/byte-streams "0.3.1"] |
| 13 | + [org.clj-commons/primitive-math "1.0.0"] |
| 14 | + [potemkin "0.4.5"] |
| 15 | + [io.netty/netty-transport ~netty-version] |
| 16 | + [io.netty/netty-transport-native-epoll ~netty-version :classifier "linux-x86_64"] |
| 17 | + [io.netty/netty-codec ~netty-version] |
| 18 | + [io.netty/netty-codec-http ~netty-version] |
| 19 | + [io.netty/netty-handler ~netty-version] |
| 20 | + [io.netty/netty-handler-proxy ~netty-version] |
| 21 | + [io.netty/netty-resolver ~netty-version] |
| 22 | + [io.netty/netty-resolver-dns ~netty-version]] |
37 | 23 | :profiles {:dev {:dependencies [[org.clojure/clojure "1.10.3"]
|
38 | 24 | [criterium "0.4.6"]
|
39 | 25 | [cheshire "5.10.0"]
|
|
0 commit comments