@@ -163,6 +163,7 @@ project('spring-beans') {
163
163
project(' spring-aop' ) {
164
164
description = ' Spring AOP'
165
165
dependencies {
166
+ compile project(" :spring-core" )
166
167
compile project(" :spring-beans" )
167
168
compile(" com.jamonapi:jamon:2.4" , optional)
168
169
compile(" aopalliance:aopalliance:1.0" , optional)
@@ -194,9 +195,11 @@ project('spring-instrument-tomcat') {
194
195
project(' spring-context' ) {
195
196
description = ' Spring Context'
196
197
dependencies {
198
+ compile(project(" :spring-instrument" ), optional)
197
199
compile project(" :spring-aop" )
200
+ compile project(" :spring-beans" )
198
201
compile project(" :spring-expression" )
199
- compile project(" :spring-instrument " )
202
+ compile project(" :spring-core " )
200
203
compile(" backport-util-concurrent:backport-util-concurrent:3.0" , optional)
201
204
compile(" javax.annotation:jsr250-api:1.0" , optional)
202
205
compile(" javax.ejb:ejb-api:3.0" , optional)
@@ -234,10 +237,14 @@ project('spring-context') {
234
237
project(' spring-tx' ) {
235
238
description = ' Spring Transaction'
236
239
dependencies {
237
- compile project(" :spring-context" )
240
+ compile(project(" :spring-context" ), optional) // for JCA, @EnableTransactionManagement
241
+ compile(project(" :spring-aop" ), optional)
242
+ compile project(" :spring-beans" )
243
+ compile project(" :spring-core" )
238
244
compile(" com.ibm.websphere:uow:6.0.2.17" , provided)
239
245
compile(" javax.resource:connector-api:1.5" , optional)
240
246
compile " aopalliance:aopalliance:1.0" // NOT optional, as opposed to in :spring-aop
247
+ compile(" org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1" , optional)
241
248
testCompile " org.easymock:easymockclassextension:2.3"
242
249
}
243
250
}
@@ -246,7 +253,9 @@ project('spring-oxm') {
246
253
description = ' Spring Object/XML Marshalling'
247
254
apply from : ' oxm.gradle'
248
255
dependencies {
249
- compile project(" :spring-context" )
256
+ compile project(" :spring-beans" )
257
+ compile project(" :spring-core" )
258
+ compile(project(" :spring-context" ), optional) // for Jaxb2Marshaller
250
259
compile " commons-lang:commons-lang:2.5"
251
260
compile(" com.thoughtworks.xstream:xstream:1.3.1" , optional)
252
261
compile(" com.sun.xml.bind:jaxb-impl:2.1.7" , optional)
@@ -265,28 +274,40 @@ project('spring-oxm') {
265
274
project(' spring-jms' ) {
266
275
description = ' Spring JMS'
267
276
dependencies {
268
- compile project(" :spring-oxm" )
277
+ compile project(" :spring-core" )
278
+ compile project(" :spring-beans" )
279
+ compile project(" :spring-aop" )
280
+ compile project(" :spring-context" )
269
281
compile project(" :spring-tx" )
282
+ compile(project(" :spring-oxm" ), optional)
270
283
compile(" org.codehaus.jackson:jackson-mapper-asl:1.4.2" , optional)
271
284
}
272
285
}
273
286
274
287
project(' spring-jdbc' ) {
275
288
description = ' Spring JDBC'
276
289
dependencies {
290
+ compile project(" :spring-core" )
291
+ compile project(" :spring-beans" )
292
+ compile(project(" :spring-context" ), optional) // for JndiDataSourceLookup
277
293
compile project(" :spring-tx" )
278
294
compile(" c3p0:c3p0:0.9.1.2" , optional)
279
295
compile(" hsqldb:hsqldb:1.8.0.7" , optional)
280
296
compile(" com.h2database:h2:1.0.71" , optional)
281
297
compile(" org.apache.derby:derby:10.5.3.0_1" , optional)
282
298
compile(" org.apache.derby:derbyclient:10.5.3.0_1" , optional)
299
+ compile(" org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1" , optional)
283
300
}
284
301
}
285
302
286
303
project(' spring-context-support' ) {
287
304
description = ' Spring Context Support'
288
305
dependencies {
289
- compile project(" :spring-jdbc" )
306
+ compile project(" :spring-core" )
307
+ compile project(" :spring-beans" )
308
+ compile project(" :spring-context" )
309
+ compile(project(" :spring-jdbc" ), optional) // for Quartz support
310
+ compile(project(" :spring-tx" ), optional) // for Quartz support
290
311
compile(" org.codehaus.fabric3.api:commonj:1.1.0" , optional)
291
312
compile(" opensymphony:quartz:1.6.2" , optional)
292
313
compile(" javax.mail:mail:1.4" , optional)
@@ -313,7 +334,11 @@ project('spring-context-support') {
313
334
project(' spring-web' ) {
314
335
description = ' Spring Web'
315
336
dependencies {
316
- compile project(" :spring-oxm" )
337
+ compile project(" :spring-core" )
338
+ compile project(" :spring-beans" ) // for MultiPartFilter
339
+ compile project(" :spring-aop" ) // for JaxWsPortProxyFactoryBean
340
+ compile project(" :spring-context" )
341
+ compile(project(" :spring-oxm" ), optional) // for MarshallingHttpMessageConverter
317
342
compile(" com.caucho:hessian:3.2.1" , optional)
318
343
compile(" rome:rome:1.0" , optional)
319
344
compile(" javax.el:el-api:1.0" , optional)
@@ -365,16 +390,25 @@ project('spring-orm') {
365
390
compile(project(" :spring-web" )) {
366
391
exclude group : ' javax.persistence' , module : ' persistence-api'
367
392
}
393
+ compile project(" :spring-core" )
394
+ compile project(" :spring-beans" )
395
+ compile(project(" :spring-aop" ), optional)
396
+ compile(project(" :spring-context" ), optional)
397
+ compile project(" :spring-tx" )
368
398
compile project(" :spring-jdbc" )
369
399
}
370
400
}
371
401
372
402
project(' spring-webmvc' ) {
373
403
description = ' Spring Web MVC'
374
404
dependencies {
405
+ compile project(" :spring-core" )
406
+ compile project(" :spring-expression" )
407
+ compile project(" :spring-beans" )
375
408
compile project(" :spring-web" )
376
- compile project(" :spring-orm" )
377
- compile project(" :spring-context-support" )
409
+ compile project(" :spring-context" )
410
+ compile(project(" :spring-context-support" ), optional) // for Velocity support
411
+ compile(project(" :spring-oxm" ), optional) // for MarshallingView
378
412
compile(" org.apache.tiles:tiles-api:2.1.2" , optional)
379
413
compile(" org.apache.tiles:tiles-core:2.1.2" , optional)
380
414
compile(" org.apache.tiles:tiles-jsp:2.1.2" , optional)
@@ -390,6 +424,7 @@ project('spring-webmvc') {
390
424
}
391
425
compile(" javax.servlet:jstl:1.1.2" , provided)
392
426
compile(" org.apache.tomcat:tomcat-servlet-api:7.0.8" , provided) // servlet-api 3.0
427
+ testCompile project(" :spring-aop" )
393
428
testCompile(" org.slf4j:slf4j-log4j12:1.6.1" ) {
394
429
exclude group : ' log4j' , module : ' log4j'
395
430
}
@@ -413,6 +448,10 @@ project('spring-webmvc-portlet') {
413
448
description = ' Spring Web Portlet'
414
449
dependencies {
415
450
compile(" javax.servlet:servlet-api:2.5" , provided)
451
+ compile project(" :spring-core" )
452
+ compile project(" :spring-beans" )
453
+ compile project(" :spring-context" )
454
+ compile project(" :spring-web" )
416
455
compile project(" :spring-webmvc" )
417
456
}
418
457
@@ -424,6 +463,12 @@ project('spring-test') {
424
463
description = ' Spring TestContext Framework'
425
464
dependencies {
426
465
compile project(" :spring-core" )
466
+ compile(project(" :spring-beans" ), optional)
467
+ compile(project(" :spring-context" ), optional)
468
+ compile(project(" :spring-jdbc" ), optional)
469
+ compile(project(" :spring-tx" ), optional)
470
+ compile(project(" :spring-orm" ), optional)
471
+ compile(project(" :spring-web" ), optional)
427
472
compile(project(" :spring-webmvc" ), optional)
428
473
compile(project(" :spring-webmvc-portlet" ), optional)
429
474
compile(" junit:junit:4.10" , optional)
@@ -439,6 +484,10 @@ project('spring-test') {
439
484
project(' spring-struts' ) {
440
485
description = ' Spring Struts'
441
486
dependencies {
487
+ compile project(" :spring-core" )
488
+ compile project(" :spring-beans" )
489
+ compile project(" :spring-context" )
490
+ compile project(" :spring-web" )
442
491
compile project(" :spring-webmvc" )
443
492
compile " struts:struts:1.2.9"
444
493
compile " commons-beanutils:commons-beanutils:1.7.0"
@@ -451,6 +500,8 @@ project('spring-aspects') {
451
500
description = ' Spring Aspects'
452
501
apply from : ' aspects.gradle'
453
502
dependencies {
503
+ compile project(" :spring-core" )
504
+ compile project(" :spring-tx" )
454
505
compile project(" :spring-orm" )
455
506
aspects project(" :spring-orm" )
456
507
ajc " org.aspectj:aspectjtools:${ aspectjVersion} "
@@ -477,7 +528,15 @@ configure(rootProject) {
477
528
configurations. archives. artifacts. clear()
478
529
479
530
dependencies { // for integration tests
531
+ testCompile project(" :spring-core" )
532
+ testCompile project(" :spring-beans" )
533
+ testCompile project(" :spring-aop" )
534
+ testCompile project(" :spring-expression" )
535
+ testCompile project(" :spring-context" )
536
+ testCompile project(" :spring-tx" )
537
+ testCompile project(" :spring-jdbc" )
480
538
testCompile project(" :spring-test" )
539
+ testCompile project(" :spring-web" )
481
540
testCompile project(" :spring-webmvc-portlet" )
482
541
testCompile " org.hibernate:hibernate-core:4.1.0.Final"
483
542
testCompile " javax.servlet:servlet-api:2.5"
0 commit comments