Standardize Build
The build now uses spring build conventions to simplify the build Fixes gh-4284
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
// LDAP sample build file
|
||||
apply from: WAR_SAMPLE_GRADLE
|
||||
|
||||
def excludeModules = ['spring-security-acl', 'jsr250-api', 'ehcache', 'spring-jdbc', 'ldapsdk']
|
||||
|
||||
configurations {
|
||||
excludeModules.each {name ->
|
||||
runtime.exclude module: name
|
||||
}
|
||||
|
||||
runtime.exclude group: 'org.aspectj'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':spring-security-taglibs'),
|
||||
jstlDependencies
|
||||
|
||||
runtime project(':spring-security-web'),
|
||||
project(':spring-security-config'),
|
||||
project(':spring-security-ldap'),
|
||||
"org.slf4j:jcl-over-slf4j:$slf4jVersion",
|
||||
"ch.qos.logback:logback-classic:$logbackVersion",
|
||||
apachedsDependencies
|
||||
|
||||
providedCompile "javax.servlet:javax.servlet-api:$servletApiVersion"
|
||||
|
||||
integrationTestCompile gebDependencies
|
||||
}
|
||||
16
samples/xml/ldap/spring-security-samples-xml-ldap.gradle
Normal file
16
samples/xml/ldap/spring-security-samples-xml-ldap.gradle
Normal file
@@ -0,0 +1,16 @@
|
||||
apply plugin: 'io.spring.convention.spring-sample-war'
|
||||
|
||||
dependencies {
|
||||
compile project(':spring-security-taglibs')
|
||||
compile jstlDependencies
|
||||
|
||||
runtime project(':spring-security-web')
|
||||
runtime project(':spring-security-config')
|
||||
runtime project(':spring-security-ldap')
|
||||
runtime apachedsDependencies
|
||||
runtime slf4jDependencies
|
||||
|
||||
providedCompile 'javax.servlet:javax.servlet-api'
|
||||
|
||||
integrationTestCompile gebDependencies
|
||||
}
|
||||
Reference in New Issue
Block a user