Skip to content

Commit 1fe477a

Browse files
committed
Upgraded to Gradle 1.12 and updated selected dependencies
(cherry picked from commit e84f61b)
1 parent 0e71076 commit 1fe477a

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

build.gradle

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ project("spring-context") {
336336
optional("org.aspectj:aspectjweaver:${aspectjVersion}")
337337
optional("org.codehaus.groovy:groovy-all:1.8.9")
338338
optional("org.beanshell:bsh:2.0b4")
339-
optional("org.jruby:jruby:1.7.10")
339+
optional("org.jruby:jruby:1.7.12")
340340
testCompile("javax.inject:javax.inject-tck:1")
341341
testCompile("commons-dbcp:commons-dbcp:1.3")
342342
testCompile("org.slf4j:slf4j-api:${slf4jVersion}")
@@ -382,14 +382,24 @@ project("spring-oxm") {
382382
dependencies {
383383
compile(project(":spring-beans"))
384384
compile(project(":spring-core"))
385-
optional("org.codehaus.castor:castor-xml:1.3.2")
386-
optional("org.apache.xmlbeans:xmlbeans:2.6.0")
387-
optional("com.thoughtworks.xstream:xstream:1.4.7")
385+
optional("org.codehaus.castor:castor-xml:1.3.3") {
386+
exclude group: 'stax', module: 'stax-api'
387+
exclude group: "org.springframework", module: "spring-context"
388+
}
389+
optional("org.apache.xmlbeans:xmlbeans:2.6.0") {
390+
exclude group: 'stax', module: 'stax-api'
391+
}
392+
optional("com.thoughtworks.xstream:xstream:1.4.7") {
393+
exclude group: 'xpp3', module: 'xpp3_min'
394+
exclude group: 'xmlpull', module: 'xmlpull'
395+
}
388396
optional("org.jibx:jibx-run:1.2.5")
389397
testCompile(project(":spring-context"))
390398
testCompile("xmlunit:xmlunit:1.3")
391399
testCompile("xmlpull:xmlpull:1.1.3.4a")
392-
testCompile("org.codehaus.jettison:jettison:1.0.1")
400+
testCompile("org.codehaus.jettison:jettison:1.0.1") {
401+
exclude group: 'stax', module: 'stax-api'
402+
}
393403
testCompile(files(genCastor.classesDir).builtBy(genCastor))
394404
testCompile(files(genJaxb.classesDir).builtBy(genJaxb))
395405
testCompile(files(genXmlbeans.classesDir).builtBy(genXmlbeans))
@@ -426,7 +436,7 @@ project("spring-jdbc") {
426436
optional("org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1")
427437
optional("c3p0:c3p0:0.9.1.2")
428438
optional("hsqldb:hsqldb:${hsqldbVersion}")
429-
optional("com.h2database:h2:1.0.71")
439+
optional("com.h2database:h2:1.0.79")
430440
optional("org.apache.derby:derby:10.5.3.0_1")
431441
optional("org.apache.derby:derbyclient:10.5.3.0_1")
432442
}
@@ -508,8 +518,7 @@ project("spring-orm") {
508518
description = "Spring Object/Relational Mapping"
509519

510520
compileTestJava {
511-
// necessary to avoid java.lang.VerifyError on toplink compilation
512-
// TODO: remove this block when we remove toplink
521+
// necessary to avoid java.lang.VerifyError on TopLink compilation
513522
sourceCompatibility=1.6
514523
targetCompatibility=1.6
515524
}
@@ -867,7 +876,7 @@ configure(rootProject) {
867876
testCompile("javax.inject:javax.inject:1")
868877
testCompile("javax.resource:connector-api:1.5")
869878
testCompile("org.aspectj:aspectjweaver:${aspectjVersion}")
870-
testCompile("org.hibernate:hibernate-core:4.2.11.Final")
879+
testCompile("org.hibernate:hibernate-core:4.2.12.Final")
871880
testCompile("hsqldb:hsqldb:${hsqldbVersion}")
872881
}
873882

@@ -1038,7 +1047,7 @@ configure(rootProject) {
10381047

10391048
task wrapper(type: Wrapper) {
10401049
description = "Generates gradlew[.bat] scripts"
1041-
gradleVersion = "1.11"
1050+
gradleVersion = "1.12"
10421051

10431052
doLast() {
10441053
def gradleOpts = "-XX:MaxPermSize=1024m -Xmx1024m"

gradle/wrapper/gradle-wrapper.jar

242 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Feb 13 00:23:41 CET 2014
1+
#Wed Apr 30 13:06:57 CEST 2014
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-bin.zip

0 commit comments

Comments
 (0)