Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'war'
- apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
- apply plugin: 'maven'
- apply plugin: 'groovy'
- apply plugin: 'idea'
- group = 'com.realdolmen'
- version = '0.1.0-SNAPSHOT'
- description = """Spring MVC Application"""
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- ext {
- springVersion = "4.1.1.RELEASE"
- springSecurityVersion = "3.2.3.RELEASE"
- springWebFlowVersion = "2.4.0.RELEASE"
- thymeleafVersion = "2.1.2.RELEASE"
- hibernateVersion = "4.2.5.Final"
- aspectjVersion = "1.7.4"
- slf4jVersion = "1.7.5"
- }
- repositories {
- maven { url "http://download.java.net/maven/2" }
- maven { url "https://oss.sonatype.org/content/groups/public/" }
- maven { url "http://repo.spring.io/milestone" }
- maven { url "http://repo.maven.apache.org/maven2" }
- }
- dependencies {
- compile(group: 'org.springframework', name: 'spring-context', version: springVersion) {
- exclude(module: 'commons-logging')
- }
- /* spring security */
- compile group: 'org.springframework.security', name: 'spring-security-config', version: springSecurityVersion
- compile group: 'org.springframework.security', name: 'spring-security-web', version: springSecurityVersion
- compile group: 'org.springframework.security', name: 'spring-security-taglibs', version: springSecurityVersion
- /* spring web */
- compile group: 'org.springframework', name: 'spring-webmvc', version: springVersion
- compile group: 'org.springframework.webflow', name: 'spring-webflow', version: springWebFlowVersion
- /* aspectj */
- compile group: 'org.aspectj', name: 'aspectjrt', version: aspectjVersion
- compile group: 'org.aspectj', name: 'aspectjweaver', version: aspectjVersion
- compile group: 'org.springframework', name: 'spring-aop', version: springVersion
- compile group: 'org.springframework', name: 'spring-aspects', version: springVersion
- /* thymeleaf */
- compile group: 'org.thymeleaf', name: 'thymeleaf', version: thymeleafVersion
- compile group: 'org.thymeleaf', name: 'thymeleaf-spring4', version: thymeleafVersion
- compile group: 'org.thymeleaf.extras', name: 'thymeleaf-extras-springsecurity3', version:'2.1.1.RELEASE'
- compile group: 'nz.net.ultraq.thymeleaf', name: 'thymeleaf-layout-dialect', version:'1.2.7'
- /* spring orm, tx, jdbc */
- compile group: 'org.springframework', name: 'spring-jdbc', version: springVersion
- compile group: 'org.springframework', name: 'spring-tx', version: springVersion
- compile group: 'org.springframework', name: 'spring-orm', version: springVersion
- /* spring orm, drivers and hibernate */
- compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: hibernateVersion
- compile group: 'org.hsqldb', name: 'hsqldb', version:'2.3.0'
- compile group: 'org.postgresql', name: 'postgresql', version: '9.3-1102-jdbc41'
- compile group: 'org.springframework.data', name: 'spring-data-jpa', version:'1.4.1.RELEASE'
- compile group: 'org.springframework.data', name: 'spring-data-mongodb', version:'1.3.1.RELEASE'
- compile group: 'javax.validation', name: 'validation-api', version:'1.0.0.GA'
- compile group: 'org.hibernate', name: 'hibernate-validator', version:'4.3.0.Final'
- /* oxm */
- compile group: 'org.springframework', name: 'spring-oxm', version: springVersion
- compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.7'
- /* spring ws */
- compile group: 'org.springframework.ws', name: 'spring-ws-core', version: '2.2.0.RELEASE'
- compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
- compile group: 'org.apache.ws.commons.schema', name: 'XmlSchema', version: '1.4.3'
- /* misc & logging */
- compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.5'
- compile group: 'ch.qos.logback', name: 'logback-classic', version:'1.0.13'
- compile group: 'javax.inject', name: 'javax.inject', version:'1'
- compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version:'1.9.9'
- compile group: 'com.google.guava', name: 'guava', version:'14.0.1'
- runtime group: 'org.slf4j', name: 'jcl-over-slf4j', version: slf4jVersion
- /* test depdencies */
- testCompile group: 'org.codehaus.groovy', name: 'groovy', version: '2.3.6'
- testCompile group: 'junit', name: 'junit', version:'4.11'
- testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.5'
- testCompile group: 'org.assertj', name: 'assertj-core', version:'1.5.0'
- testCompile group: 'org.hamcrest', name: 'hamcrest-core', version:'1.3'
- testCompile group: 'org.hamcrest', name: 'hamcrest-library', version:'1.3'
- testCompile group: 'org.objenesis', name: 'objenesis', version:'1.3'
- testCompile group: 'org.springframework', name: 'spring-test', version: springVersion
- /* web dependencies */
- providedCompile group: 'org.apache.geronimo.specs', name: 'geronimo-servlet_3.0_spec', version:'1.0'
- providedCompile group: 'javax.servlet', name: 'servlet-api', version: '2.5'
- runtime group: 'javax.servlet', name: 'jstl', version: '1.1.2'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement