-
Notifications
You must be signed in to change notification settings - Fork 195
/
build.gradle
64 lines (62 loc) · 3.3 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
dependencies {
api project(':grails-datastore-gorm')
api("org.grails:grails-core:$grailsVersion") {
exclude group:'org.hibernate.javax.persistence', module:'hibernate-jpa-2.1-api'
exclude group:'aopalliance',module:'aopalliance'
exclude group:'commons-logging',module:'commons-logging'
exclude group:'commons-lang',module:'commons-lang'
// TODO: When the commons-collection dependency on grails-core is removed, then uncomment this
// exclude group:'commons-collections',module:'commons-collections'
exclude group:'commons-io',module:'commons-io'
exclude group:'org.grails',module:'grails-spring'
exclude group:'org.grails',module:'grails-bootstrap'
exclude group:'org.aspectj',module:'aspectjweaver'
exclude group:'org.aspectj',module:'aspectjrt'
exclude group:'oro',module:'oro'
exclude group:'asm',module:'asm'
exclude group:'cglib',module:'cglib'
exclude group:'cglib', module:'cglib-nodep'
exclude group:'xalan',module:'serializer'
exclude group:'org.springframework',module:'spring-aspects'
exclude group:'org.springframework',module:'spring-beans'
exclude group:'org.springframework',module:'spring-context'
exclude group:'org.springframework',module:'spring-context-support'
exclude group:'org.springframework',module:'spring-expression'
exclude group:'org.springframework',module:'spring-web'
exclude group:'org.springframework',module:'spring-aop'
exclude group:'commons-logging',module:'commons-logging'
exclude group:'commons-validator',module:'commons-validator'
exclude group:'com.googlecode.concurrentlinkedhashmap',module:'concurrentlinkedhashmap-lru'
}
api("org.grails:grails-bootstrap:$grailsVersion") {
exclude group:'org.codehaus.groovy', module:'groovy-ant'
exclude group:'org.codehaus.groovy', module:'groovy-xml'
exclude group:'org.apache.ant',module:'ant'
exclude group:'org.apache.ant',module:'ant-launcher'
exclude group:'org.apache.ant',module:'ant-trax'
exclude group:'org.apache.ant',module:'ant-junit'
exclude group:'org.apache.ant',module:'ant'
exclude group:'org.apache.ivy',module:'ivy'
exclude group:'org.codehaus.gant',module:'gant_groovy1.8'
exclude group:'jline',module:'jline'
exclude group:'org.fusesource.jansi',module:'jansi'
exclude group:'net.java.dev.jna',module:'jna'
}
compileOnly "org.springframework:spring-orm:$springVersion"
compileOnly "org.springframework:spring-webmvc:$springVersion"
compileOnly "org.grails:grails-web-url-mappings:$grailsVersion", { transitive = false }
compileOnly "org.grails:grails-web-common:$grailsVersion", { transitive = false }
compileOnly("org.hibernate:hibernate-core:${hibernateVersion}") {
exclude group:'commons-logging', module:'commons-logging'
exclude group:'commons-collections', module:'commons-collections'
exclude group:'org.slf4j', module:'slf4j-api'
exclude group:'xml-apis', module:'xml-apis'
exclude group:'dom4j', module:'dom4j'
exclude group:'antlr', module: 'antlr'
}
}
project.tasks.withType(Jar) {
configure {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
}