Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 5.10 KB | None | 0 0
  1. apply plugin: 'war'
  2. apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
  3. apply plugin: 'maven'
  4. apply plugin: 'groovy'
  5. apply plugin: 'idea'
  6.  
  7.  
  8. group = 'com.realdolmen'
  9. version = '0.1.0-SNAPSHOT'
  10.  
  11. description = """Spring MVC Application"""
  12.  
  13. sourceCompatibility = 1.8
  14. targetCompatibility = 1.8
  15.  
  16. ext {
  17.     springVersion = "4.1.1.RELEASE"
  18.     springSecurityVersion = "3.2.3.RELEASE"
  19.     springWebFlowVersion = "2.4.0.RELEASE"
  20.     thymeleafVersion = "2.1.2.RELEASE"
  21.     hibernateVersion = "4.2.5.Final"
  22.     aspectjVersion = "1.7.4"
  23.     slf4jVersion = "1.7.5"
  24. }
  25.  
  26.  
  27. repositories {
  28.        
  29.      maven { url "http://download.java.net/maven/2" }
  30.      maven { url "https://oss.sonatype.org/content/groups/public/" }
  31.      maven { url "http://repo.spring.io/milestone" }
  32.      maven { url "http://repo.maven.apache.org/maven2" }
  33. }
  34.  
  35. dependencies {
  36.     compile(group: 'org.springframework', name: 'spring-context', version: springVersion) {
  37.         exclude(module: 'commons-logging')
  38.     }
  39.    
  40.     /* spring security */
  41.     compile group: 'org.springframework.security', name: 'spring-security-config', version: springSecurityVersion
  42.     compile group: 'org.springframework.security', name: 'spring-security-web', version: springSecurityVersion
  43.     compile group: 'org.springframework.security', name: 'spring-security-taglibs', version: springSecurityVersion
  44.  
  45.     /* spring web */
  46.     compile group: 'org.springframework', name: 'spring-webmvc', version: springVersion
  47.     compile group: 'org.springframework.webflow', name: 'spring-webflow', version: springWebFlowVersion
  48.  
  49.     /* aspectj */
  50.     compile group: 'org.aspectj', name: 'aspectjrt', version: aspectjVersion
  51.     compile group: 'org.aspectj', name: 'aspectjweaver', version: aspectjVersion
  52.     compile group: 'org.springframework', name: 'spring-aop', version: springVersion
  53.     compile group: 'org.springframework', name: 'spring-aspects', version: springVersion
  54.    
  55.     /* thymeleaf */
  56.     compile group: 'org.thymeleaf', name: 'thymeleaf', version: thymeleafVersion
  57.     compile group: 'org.thymeleaf', name: 'thymeleaf-spring4', version: thymeleafVersion
  58.     compile group: 'org.thymeleaf.extras', name: 'thymeleaf-extras-springsecurity3', version:'2.1.1.RELEASE'
  59.     compile group: 'nz.net.ultraq.thymeleaf', name: 'thymeleaf-layout-dialect', version:'1.2.7'
  60.     /* spring orm, tx, jdbc */
  61.     compile group: 'org.springframework', name: 'spring-jdbc', version: springVersion
  62.     compile group: 'org.springframework', name: 'spring-tx', version: springVersion
  63.     compile group: 'org.springframework', name: 'spring-orm', version: springVersion
  64.  
  65.     /* spring orm, drivers and hibernate */
  66.     compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: hibernateVersion
  67.     compile group: 'org.hsqldb', name: 'hsqldb', version:'2.3.0'
  68.     compile group: 'org.postgresql', name: 'postgresql', version: '9.3-1102-jdbc41'    
  69.     compile group: 'org.springframework.data', name: 'spring-data-jpa', version:'1.4.1.RELEASE'
  70.     compile group: 'org.springframework.data', name: 'spring-data-mongodb', version:'1.3.1.RELEASE'
  71.     compile group: 'javax.validation', name: 'validation-api', version:'1.0.0.GA'
  72.     compile group: 'org.hibernate', name: 'hibernate-validator', version:'4.3.0.Final'
  73.  
  74.     /* oxm */
  75.     compile group: 'org.springframework', name: 'spring-oxm', version: springVersion
  76.     compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.7'
  77.  
  78.     /* spring ws */
  79.     compile group: 'org.springframework.ws', name: 'spring-ws-core', version: '2.2.0.RELEASE'
  80.     compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
  81.     compile group: 'org.apache.ws.commons.schema', name: 'XmlSchema', version: '1.4.3'
  82.    
  83.     /* misc & logging */
  84.     compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.5'
  85.     compile group: 'ch.qos.logback', name: 'logback-classic', version:'1.0.13'
  86.     compile group: 'javax.inject', name: 'javax.inject', version:'1'
  87.     compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version:'1.9.9'
  88.     compile group: 'com.google.guava', name: 'guava', version:'14.0.1'
  89.    
  90.     runtime group: 'org.slf4j', name: 'jcl-over-slf4j', version: slf4jVersion
  91.    
  92.     /* test depdencies */
  93.     testCompile group: 'org.codehaus.groovy', name: 'groovy', version: '2.3.6'
  94.     testCompile group: 'junit', name: 'junit', version:'4.11'
  95.     testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.5'
  96.     testCompile group: 'org.assertj', name: 'assertj-core', version:'1.5.0'
  97.     testCompile group: 'org.hamcrest', name: 'hamcrest-core', version:'1.3'
  98.     testCompile group: 'org.hamcrest', name: 'hamcrest-library', version:'1.3'
  99.     testCompile group: 'org.objenesis', name: 'objenesis', version:'1.3'
  100.     testCompile group: 'org.springframework', name: 'spring-test', version: springVersion
  101.  
  102.     /* web dependencies */
  103.     providedCompile group: 'org.apache.geronimo.specs', name: 'geronimo-servlet_3.0_spec', version:'1.0'
  104.     providedCompile group: 'javax.servlet', name: 'servlet-api', version: '2.5'
  105.     runtime group: 'javax.servlet', name: 'jstl', version: '1.1.2'
  106. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement