SEC-1738: Changed openid4java to be testCompile dependency of spring security config
This commit is contained in:
parent
6e91786f92
commit
3d24d6f672
|
@ -3,7 +3,20 @@
|
||||||
apply plugin: 'groovy'
|
apply plugin: 'groovy'
|
||||||
|
|
||||||
compileTestJava.dependsOn(':spring-security-core:compileTestJava')
|
compileTestJava.dependsOn(':spring-security-core:compileTestJava')
|
||||||
|
task writeNewPom << {
|
||||||
|
pom {
|
||||||
|
project {
|
||||||
|
inceptionYear '2008'
|
||||||
|
licenses {
|
||||||
|
license {
|
||||||
|
name 'The Apache Software License, Version 2.0'
|
||||||
|
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
||||||
|
distribution 'repo'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}.writeTo("$buildDir/newpom.xml")
|
||||||
|
}
|
||||||
configurations {
|
configurations {
|
||||||
// GRADLE-1124
|
// GRADLE-1124
|
||||||
compile.extendsFrom = []
|
compile.extendsFrom = []
|
||||||
|
@ -34,7 +47,7 @@ dependencies {
|
||||||
"org.springframework:spring-tx:$springVersion",
|
"org.springframework:spring-tx:$springVersion",
|
||||||
'org.spockframework:spock-core:0.5-groovy-1.7',
|
'org.spockframework:spock-core:0.5-groovy-1.7',
|
||||||
"org.slf4j:jcl-over-slf4j:$slf4jVersion"
|
"org.slf4j:jcl-over-slf4j:$slf4jVersion"
|
||||||
compile('org.openid4java:openid4java-nodeps:0.9.6') {
|
testCompile('org.openid4java:openid4java-nodeps:0.9.6') {
|
||||||
exclude group: 'com.google.code.guice', module: 'guice'
|
exclude group: 'com.google.code.guice', module: 'guice'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue