From 48be79108ae280f992eb62acdb23daeabe0c1cfc Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 22 Dec 2009 19:55:53 +0000 Subject: [PATCH] Gradle build file for 'heavyduty' sample --- sandbox/heavyduty/build.gradle | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 sandbox/heavyduty/build.gradle diff --git a/sandbox/heavyduty/build.gradle b/sandbox/heavyduty/build.gradle new file mode 100644 index 0000000000..1f23df1df8 --- /dev/null +++ b/sandbox/heavyduty/build.gradle @@ -0,0 +1,53 @@ +usePlugin('war') +usePlugin('jetty') +usePlugin('project-reports') + +version = '3.0.0.CI-SNAPSHOT' +springVersion = '3.0.0.RELEASE' +targetCompatibility = '1.5' +sourceCompatibility = '1.5' + +repositories { + mavenRepo name:'localRepo', urls:'file:///Users/luke/.m2/repository' +} + +configurations { +// runtime.excludeRules.add(org: 'org.apache.commons') +} + +dependencies { + // + // NB: Transient deps are all runtime deps (unlike maven) + compile 'aopalliance:aopalliance:1.0', + "org.springframework.security:spring-security-core:$version", + "org.springframework.security:spring-security-web:$version", + "org.springframework:spring-beans:$springVersion", + "org.springframework:spring-core:$springVersion", + "org.springframework:spring-context:$springVersion", + "org.springframework:spring-tx:$springVersion", + "org.springframework:spring-web:$springVersion", + "org.springframework:spring-webmvc:$springVersion", + 'commons-logging:commons-logging:1.1.1', + "org.aspectj:aspectjrt:1.6.5", + 'org.hibernate:ejb3-persistence:1.0.2.GA' + 'javax.persistence:persistence-api:1.0' + + providedCompile "javax.servlet:servlet-api:2.5" + + runtime 'org.hibernate:hibernate-entitymanager:3.4.0.GA', + "org.springframework:spring-context-support:$springVersion", + "org.springframework.security:spring-security-ldap:$version", + "org.springframework.security:spring-security-config:$version", + "org.springframework.security:spring-security-taglibs:$version", + "org.springframework:spring-orm:$springVersion", + 'org.apache.directory.server:apacheds-core:1.5.5', + 'org.apache.directory.server:apacheds-server-jndi:1.5.5', + 'org.freemarker:freemarker:2.3.16', + "hsqldb:hsqldb:1.8.0.10", + 'org.slf4j:slf4j-log4j12:1.5.8', + 'log4j:log4j:1.2.14' +} + +task ('pcomp') { + println configurations.compile +}