Skip to content

Commit abe4328

Browse files
Merge pull request #45 from justinstoller/SERVER-3167-3
(SERVER-3167) Take up JRuby 9.4.1
2 parents 32221ff + 69eb8a2 commit abe4328

File tree

1 file changed

+8
-25
lines changed

1 file changed

+8
-25
lines changed

project.clj

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
(def jruby-version "9.4.0.0")
1+
(def jruby-version "9.4.1.0")
22

3-
(defproject puppetlabs/jruby-deps "9.4.0.0-3-SNAPSHOT"
3+
(defproject puppetlabs/jruby-deps "9.4.1.0-1-SNAPSHOT"
44
:description "JRuby dependencies"
55
:url "https://github.com/puppetlabs/jruby-deps"
66
:license {:name "Apache License, Version 2.0"
@@ -15,9 +15,11 @@
1515
[com.github.jnr/jnr-posix "3.1.15"]
1616
[com.github.jnr/jnr-constants "0.10.3"]
1717
[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"]]
2123

2224
:deploy-repositories [["releases" {:url "https://clojars.org/repo"
2325
:username :env/clojars_jenkins_username
@@ -34,23 +36,4 @@
3436
;; only project that relies on that right now, it's simpler to just add it here.
3537
:resource-paths ["project.clj"]
3638

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

Comments
 (0)