Browse Source
Changed build file names to match module names (by manipulating the project objects in the settings.gradle file).3.0.x
16 changed files with 171 additions and 33 deletions
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
||||
// Acl Module build file |
||||
|
||||
dependencies { |
||||
compile project(':core'), |
||||
compile project(':spring-security-core'), |
||||
"net.sf.ehcache:ehcache:$ehcacheVersion", |
||||
"org.springframework:spring-context:$springVersion", |
||||
"org.springframework:spring-core:$springVersion", |
||||
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
||||
|
||||
dependencies { |
||||
compile project(':core'), |
||||
project(':web'), |
||||
compile project(':spring-security-core'), |
||||
project(':spring-security-web'), |
||||
"javax.servlet:servlet-api:2.5", |
||||
"org.springframework:spring-core:$springVersion", |
||||
"org.springframework:spring-context:$springVersion", |
||||
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
apply id: 'war' |
||||
apply id: 'jetty' |
||||
|
||||
dependencies { |
||||
// providedCompile 'javax.servlet:servlet-api:2.5@jar' |
||||
|
||||
runtime project(':spring-security-core'), |
||||
project(':spring-security-web'), |
||||
project(':spring-security-config'), |
||||
// project(':taglibs'), |
||||
'log4j:log4j:1.2.15@jar' |
||||
} |
||||
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
// Contacts sample build file |
||||
|
||||
apply id: 'war' |
||||
apply id: 'jetty' |
||||
|
||||
dependencies { |
||||
providedCompile 'javax.servlet:servlet-api:2.5@jar' |
||||
compile project(':spring-security-core'), |
||||
project(':spring-security-acl'), |
||||
"org.springframework:spring-core:$springVersion", |
||||
"org.springframework:spring-beans:$springVersion", |
||||
"org.springframework:spring-context:$springVersion", |
||||
"org.springframework:spring-jdbc:$springVersion", |
||||
"org.springframework:spring-tx:$springVersion", |
||||
"org.springframework:spring-web:$springVersion", |
||||
"org.springframework:spring-webmvc:$springVersion", |
||||
"org.aspectj:aspectjrt:$aspectjVersion" |
||||
|
||||
runtime project(':spring-security-web'), |
||||
project(':spring-security-config'), |
||||
project(':spring-security-taglibs'), |
||||
"org.springframework:spring-context-support:$springVersion", |
||||
"net.sf.ehcache:ehcache:$ehcacheVersion", |
||||
'log4j:log4j:1.2.15@jar' |
||||
} |
||||
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
// OpenID sample build file |
||||
|
||||
apply id: 'war' |
||||
apply id: 'jetty' |
||||
|
||||
dependencies { |
||||
providedCompile 'javax.servlet:servlet-api:2.5@jar' |
||||
|
||||
runtime project(':spring-security-web'), |
||||
project(':spring-security-config'), |
||||
project(':spring-security-openid'), |
||||
'log4j:log4j:1.2.15@jar' |
||||
} |
||||
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
// Tutorial sample build file |
||||
|
||||
apply id: 'war' |
||||
apply id: 'jetty' |
||||
|
||||
dependencies { |
||||
providedCompile 'javax.servlet:servlet-api:2.5@jar' |
||||
compile project(':spring-security-core'), |
||||
"org.springframework:spring-core:$springVersion", |
||||
"org.springframework:spring-beans:$springVersion", |
||||
"org.springframework:spring-web:$springVersion", |
||||
"org.springframework:spring-webmvc:$springVersion", |
||||
"org.aspectj:aspectjrt:$aspectjVersion" |
||||
|
||||
runtime project(':spring-security-web'), |
||||
project(':spring-security-config'), |
||||
project(':spring-security-taglibs'), |
||||
'log4j:log4j:1.2.15@jar' |
||||
} |
||||
@ -1 +1,39 @@
@@ -1 +1,39 @@
|
||||
include 'core', 'web', 'ldap', 'acl', 'config', 'cas', 'openid' |
||||
String[] modules = [ |
||||
'core', |
||||
'web', |
||||
'ldap', |
||||
'acl', |
||||
'config', |
||||
'cas', |
||||
'openid', |
||||
'taglibs' |
||||
] |
||||
|
||||
String[] samples = [ |
||||
'tutorial', |
||||
'contacts', |
||||
'openid' |
||||
] |
||||
|
||||
include modules |
||||
|
||||
modules.each {name -> |
||||
p = findProject(":${name}") |
||||
p.name = "spring-security-${name}" |
||||
p.buildFileName = "${name}.gradle" |
||||
} |
||||
|
||||
include samples |
||||
|
||||
samples.each {name -> |
||||
p = findProject(":${name}") |
||||
p.name = "spring-security-samples-${name}" |
||||
p.buildFileName = "${name}.gradle" |
||||
p.projectDir = new File(settingsDir, "samples/${name}"); |
||||
} |
||||
|
||||
|
||||
rootProject.children.each {project -> |
||||
assert project.buildFile.isFile() |
||||
assert project.projectDir.isDirectory() |
||||
} |
||||
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
// Taglibs build file |
||||
|
||||
dependencies { |
||||
compile project(':spring-security-core'), |
||||
project(':spring-security-web'), |
||||
project(':spring-security-acl'), |
||||
"org.springframework:spring-core:$springVersion", |
||||
"org.springframework:spring-beans:$springVersion", |
||||
"org.springframework:spring-context:$springVersion", |
||||
"org.springframework:spring-expression:$springVersion", |
||||
"org.springframework:spring-web:$springVersion" |
||||
|
||||
provided 'javax.servlet:jsp-api:2.0' |
||||
|
||||
testCompile 'javax.servlet:servlet-api:2.5', |
||||
'javax.servlet:jsp-api:2.0' |
||||
|
||||
testRuntime "taglibs:standard:$jstlVersion" |
||||
|
||||
} |
||||
Loading…
Reference in new issue