File tree Expand file tree Collapse file tree 15 files changed +21
-18
lines changed Expand file tree Collapse file tree 15 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 2
2
3
3
dependencies {
4
4
compile project(' :spring-security-core' ),
5
+ springCoreDependency,
5
6
' aopalliance:aopalliance:1.0' ,
6
7
" org.springframework:spring-aop:$springVersion " ,
7
8
" org.springframework:spring-context:$springVersion " ,
Original file line number Diff line number Diff line change 1
1
2
2
dependencies {
3
3
compile project(' :spring-security-core' ),
4
+ springCoreDependency,
4
5
" org.springframework:spring-beans:$springVersion " ,
5
6
" org.springframework:spring-context:$springVersion "
6
7
Original file line number Diff line number Diff line change 2
2
dependencies {
3
3
compile project(' :spring-security-core' ),
4
4
project(' :spring-security-web' ),
5
+ springCoreDependency,
5
6
" org.springframework:spring-context:$springVersion " ,
6
7
" org.springframework:spring-beans:$springVersion " ,
7
8
" org.springframework:spring-web:$springVersion " ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ compileTestJava.dependsOn(':spring-security-core:compileTestJava')
10
10
dependencies {
11
11
// NB: Don't add other compile time dependencies to the config module as this breaks tooling
12
12
compile project(' :spring-security-core' ),
13
+ springCoreDependency,
13
14
' aopalliance:aopalliance:1.0' ,
14
15
" org.springframework:spring-aop:$springVersion " ,
15
16
" org.springframework:spring-context:$springVersion " ,
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ configurations {
13
13
}
14
14
15
15
dependencies {
16
- compile ' aopalliance:aopalliance:1.0' ,
16
+ compile springCoreDependency,
17
+ ' aopalliance:aopalliance:1.0' ,
17
18
" org.springframework:spring-aop:$springVersion " ,
18
19
" org.springframework:spring-beans:$springVersion " ,
19
20
" org.springframework:spring-context:$springVersion " ,
Original file line number Diff line number Diff line change 49
49
</repository >
50
50
</repositories >
51
51
<dependencies >
52
- <dependency >
53
- <groupId >org.springframework</groupId >
54
- <artifactId >spring-core</artifactId >
55
- <version >4.1.0.RC2</version >
56
- <scope >compile</scope >
57
- <exclusions >
58
- <exclusion >
59
- <artifactId >commons-logging</artifactId >
60
- <groupId >commons-logging</groupId >
61
- </exclusion >
62
- </exclusions >
63
- </dependency >
64
52
<dependency >
65
53
<groupId >commons-logging</groupId >
66
54
<artifactId >commons-logging</artifactId >
101
89
<dependency >
102
90
<groupId >org.springframework</groupId >
103
91
<artifactId >spring-test</artifactId >
104
- <version >4.1.0.RC2 </version >
92
+ <version >4.1.1.BUILD-SNAPSHOT </version >
105
93
<scope >test</scope >
106
94
</dependency >
107
95
</dependencies >
Original file line number Diff line number Diff line change 1
1
dependencies {
2
2
compile project(' :spring-security-core' ),
3
+ springCoreDependency,
3
4
" org.springframework.data:spring-data-commons:$springDataCommonsVersion "
4
5
5
6
}
Original file line number Diff line number Diff line change @@ -58,6 +58,12 @@ ext.powerMockDependencies = [
58
58
" org.powermock:powermock-reflect:$powerMockVersion "
59
59
]
60
60
61
+ ext. springCoreDependency = [
62
+ dependencies. create(" org.springframework:spring-core:$springVersion " ) {
63
+ exclude(group : ' commons-logging' , module : ' commons-logging' )
64
+ }
65
+ ]
66
+
61
67
ext. jstlDependencies = [
62
68
" javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:$jstlVersion " ,
63
69
" org.apache.taglibs:taglibs-standard-jstlel:1.2.1"
@@ -115,10 +121,6 @@ check.dependsOn integrationTest
115
121
dependencies {
116
122
optional ' commons-logging:commons-logging:1.1.1'
117
123
118
- compile (" org.springframework:spring-core:$springVersion " ) {
119
- exclude(group : ' commons-logging' , module : ' commons-logging' )
120
- }
121
-
122
124
testCompile ' junit:junit:4.11' ,
123
125
' org.mockito:mockito-core:1.9.5' ,
124
126
" org.springframework:spring-test:$springVersion " ,
Original file line number Diff line number Diff line change 2
2
3
3
dependencies {
4
4
compile project(' :spring-security-core' ),
5
+ springCoreDependency,
5
6
" org.springframework:spring-beans:$springVersion " ,
6
7
" org.springframework:spring-context:$springVersion " ,
7
8
" org.springframework:spring-tx:$springVersion "
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apply plugin: 'groovy'
2
2
3
3
dependencies {
4
4
compile project(' :spring-security-core' ),
5
+ springCoreDependency,
5
6
' aopalliance:aopalliance:1.0' ,
6
7
" org.springframework:spring-beans:$springVersion " ,
7
8
" org.springframework:spring-context:$springVersion " ,
You can’t perform that action at this time.
0 commit comments