Standardize Build
The build now uses spring build conventions to simplify the build Fixes gh-4284
This commit is contained in:
25
taglibs/spring-security-taglibs.gradle
Normal file
25
taglibs/spring-security-taglibs.gradle
Normal file
@@ -0,0 +1,25 @@
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
|
||||
dependencies {
|
||||
compile project(':spring-security-acl')
|
||||
compile project(':spring-security-core')
|
||||
compile project(':spring-security-web')
|
||||
compile 'org.springframework:spring-aop'
|
||||
compile 'org.springframework:spring-beans'
|
||||
compile 'org.springframework:spring-context'
|
||||
compile 'org.springframework:spring-core'
|
||||
compile 'org.springframework:spring-expression'
|
||||
compile 'org.springframework:spring-web'
|
||||
|
||||
provided 'javax.servlet.jsp:javax.servlet.jsp-api'
|
||||
provided 'javax.servlet:javax.servlet-api'
|
||||
|
||||
testCompile 'org.codehaus.groovy:groovy-all'
|
||||
testCompile spockDependencies
|
||||
|
||||
testRuntime 'javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api'
|
||||
}
|
||||
|
||||
configure(project.tasks.withType(Test)) {
|
||||
systemProperties['springSecurityVersion'] = version
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// Taglibs build file
|
||||
apply plugin: 'groovy'
|
||||
|
||||
dependencies {
|
||||
compile project(':spring-security-core'),
|
||||
project(':spring-security-web'),
|
||||
project(':spring-security-acl'),
|
||||
springCoreDependency,
|
||||
"org.springframework:spring-beans:$springVersion",
|
||||
"org.springframework:spring-aop:$springVersion",
|
||||
"org.springframework:spring-context:$springVersion",
|
||||
"org.springframework:spring-expression:$springVersion",
|
||||
"org.springframework:spring-web:$springVersion"
|
||||
|
||||
provided 'javax.servlet.jsp:javax.servlet.jsp-api:2.2.1',
|
||||
"javax.servlet:javax.servlet-api:$servletApiVersion"
|
||||
|
||||
testCompile "org.codehaus.groovy:groovy-all:$groovyVersion",
|
||||
spockDependencies
|
||||
|
||||
testRuntime "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:$jstlVersion"
|
||||
}
|
||||
|
||||
configure(project.tasks.withType(Test)) {
|
||||
systemProperties['springSecurityVersion'] = version
|
||||
}
|
||||
Reference in New Issue
Block a user