Stripping out unnecessary dependencies from sample jars.

This commit is contained in:
Luke Taylor
2011-01-10 17:27:58 +00:00
parent 39b48c6d95
commit 19e56f4397
7 changed files with 59 additions and 8 deletions

View File

@@ -3,6 +3,16 @@
apply plugin: 'war'
apply plugin: 'jetty'
def excludeModules = ['spring-security-acl', 'jsr250-api', 'ehcache', 'spring-jdbc', 'spring-tx']
configurations {
excludeModules.each {name ->
runtime.exclude module: name
}
runtime.exclude group: 'org.aspectj'
}
dependencies {
providedCompile 'javax.servlet:servlet-api:2.5@jar'