Created
May 23, 2011 00:53
-
-
Save tomhermann/986058 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'war' | |
apply plugin: 'groovy' | |
apply plugin: 'jetty' | |
apply plugin: 'eclipse' | |
version = '1.0' | |
springVersion='3.0.5.RELEASE' | |
slf4jVersion='1.6.1' | |
sourceCompatibility = 1.6 | |
repositories { | |
mavenCentral() | |
} | |
configurations { | |
all*.exclude group: 'commons-logging', name: 'commons-logging' | |
} | |
dependencies { | |
/*** Groovy */ | |
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.10' | |
/*** Spring */ | |
compile group: 'org.springframework', name: 'spring-webmvc', version: "${springVersion}" | |
compile group: 'org.springframework', name: 'spring-context', version: "${springVersion}" | |
/*** Logging */ | |
compile group: 'org.slf4j', name: 'slf4j-api', version: "${slf4jVersion}" | |
runtime group: 'org.slf4j', name: 'jcl-over-slf4j', version: "${slf4jVersion}" | |
runtime group: 'org.slf4j', name: 'slf4j-log4j12', version: "${slf4jVersion}" | |
runtime group: 'log4j', name: 'log4j', version: '1.2.16' | |
/*** JSR 303 with Hibernate Validator */ | |
compile group: 'javax.validation', name: 'validation-api', version: '1.0.0.GA' | |
compile group: 'org.hibernate', name: 'hibernate-validator', version: '4.1.0.Final' | |
/*** Joda Time */ | |
runtime group: 'joda-time', name: 'joda-time', version: '1.6.2' | |
runtime group: 'joda-time', name: 'joda-time-jsptags', version: '1.0.2' | |
/*** Servlet */ | |
compile group: 'javax.servlet', name: 'jstl', version: '1.2' | |
providedCompile group: 'javax.servlet', name: 'servlet-api', version: '2.5' | |
providedCompile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1' | |
/*** Test */ | |
testCompile group: 'junit', name: 'junit', version: '4.+' | |
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.5' | |
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.1' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment