From 856fb2ccacf6a1c98526671eb75cf697aa205e81 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 8 Oct 2012 17:54:20 -0700 Subject: [PATCH] Move JRuby dependency below Joda JRuby includes a copy of joda classes with the same package names. This commit changes the order of the loaded jars to load the original joda classes first. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 6d97c7be17f..aa9b657402b 100644 --- a/build.gradle +++ b/build.gradle @@ -262,12 +262,12 @@ project('spring-context') { } compile("org.beanshell:bsh:2.0b4", optional) compile("org.codehaus.groovy:groovy-all:1.6.3", optional) - compile("org.jruby:jruby:1.4.0", optional) compile("org.hibernate:hibernate-validator:4.2.0.Final") { dep -> optional dep exclude group: 'org.slf4j', module: 'slf4j-api' } compile("joda-time:joda-time:1.6", optional) + compile("org.jruby:jruby:1.4.0", optional) compile("javax.cache:cache-api:0.5", optional) compile("net.sf.ehcache:ehcache-core:2.0.0", optional) compile("org.slf4j:slf4j-api:1.6.1", optional)