|
1 |
| -(def jruby-version "9.4.0.0") |
| 1 | +(def jruby-version "9.4.1.0") |
2 | 2 |
|
3 |
| -(defproject puppetlabs/jruby-deps "9.4.0.0-3-SNAPSHOT" |
| 3 | +(defproject puppetlabs/jruby-deps "9.4.1.0-1-SNAPSHOT" |
4 | 4 | :description "JRuby dependencies"
|
5 | 5 | :url "https://github.com/puppetlabs/jruby-deps"
|
6 | 6 | :license {:name "Apache License, Version 2.0"
|
|
15 | 15 | [com.github.jnr/jnr-posix "3.1.15"]
|
16 | 16 | [com.github.jnr/jnr-constants "0.10.3"]
|
17 | 17 | [com.github.jnr/jnr-ffi "2.2.11"]
|
18 |
| - [org.jruby/jruby-core ~jruby-version |
19 |
| - :exclusions [com.github.jnr/jnr-enxio com.github.jnr/jnr-unixsocket com.github.jnr/jnr-posix com.github.jnr/jnr-constants com.github.jnr/jnr-ffi]] |
20 |
| - [org.jruby/jruby-stdlib ~jruby-version]] |
| 18 | + [org.jruby/jruby-base ~jruby-version |
| 19 | + :exclusions [com.github.jnr/jffi com.github.jnr/jnr-enxio com.github.jnr/jnr-unixsocket com.github.jnr/jnr-posix com.github.jnr/jnr-constants com.github.jnr/jnr-ffi joda-time]] |
| 20 | + [org.jruby/jruby-stdlib ~jruby-version] |
| 21 | + [org.snakeyaml/snakeyaml-engine "2.6"] |
| 22 | + [joda-time "2.10.10"]] |
21 | 23 |
|
22 | 24 | :deploy-repositories [["releases" {:url "https://clojars.org/repo"
|
23 | 25 | :username :env/clojars_jenkins_username
|
|
34 | 36 | ;; only project that relies on that right now, it's simpler to just add it here.
|
35 | 37 | :resource-paths ["project.clj"]
|
36 | 38 |
|
37 |
| - ;; For the jruby-deps uberjar builds, we want to exclude a few "common" |
38 |
| - ;; dependencies which we expect to be provided by other jars in the Java |
39 |
| - ;; classpath. We do this in order to make the dependency resolution |
40 |
| - ;; predictable regardless of the order in which the jars are referenced on the |
41 |
| - ;; classpath. Dependencies in the uberjar profile replace those from the base |
42 |
| - ;; project definition in order to exclude the unwanted dependencies from the |
43 |
| - ;; jruby-deps uberjar. |
44 |
| - :profiles {:uberjar {:dependencies |
45 |
| - [[org.jruby/jruby-core ~jruby-version |
46 |
| - :exclusions [joda-time]]]}} |
47 |
| - |
48 |
| - :uberjar-name "jruby-9k.jar" |
49 |
| - |
50 |
| - ;; NOTE: jruby-stdlib packages some unexpected things inside |
51 |
| - ;; of its jar. e.g., it puts a pre-built copy of the bouncycastle |
52 |
| - ;; and snakeyaml jars into its META-INF directory. This is highly |
53 |
| - ;; undesirable for projects that already have dependencies on different |
54 |
| - ;; versions of these jars. Items below are excluded from the uberjar. |
55 |
| - :uberjar-exclusions [#"META-INF/jruby.home/lib/ruby/stdlib/org/bouncycastle" |
56 |
| - #"META-INF/jruby.home/lib/ruby/stdlib/org/yaml/snakeyaml"]) |
| 39 | + :uberjar-name "jruby-9k.jar") |
0 commit comments