SEC-1738: Changed openid4java to be testCompile dependency of spring security config

This commit is contained in:
Rob Winch 2011-05-10 23:17:36 -05:00
parent 6e91786f92
commit 3d24d6f672

View File

@ -3,7 +3,20 @@
apply plugin: 'groovy'
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 {
// GRADLE-1124
compile.extendsFrom = []
@ -34,7 +47,7 @@ dependencies {
"org.springframework:spring-tx:$springVersion",
'org.spockframework:spock-core:0.5-groovy-1.7',
"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'
}