forked from grails/grails-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
89 lines (77 loc) · 3.67 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
configurations.testCompileClasspath {
exclude module: "grails-plugin-testing"
}
dependencies {
testImplementation project(':grails-test-suite-base'),
project(':grails-plugin-domain-class'),
project(':grails-plugin-datasource'),
project(':grails-plugin-i18n'),
project(':grails-plugin-url-mappings'),
project(':grails-plugin-databinding'),
project(':grails-plugin-services'),
project(':grails-plugin-controllers'),
project(':grails-bootstrap'),
project(':grails-spring')
testImplementation "org.grails:grails-datastore-gorm-validation:$datastoreVersion"
testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.0", {
exclude group: 'org.grails', module:'grails-datastore-gorm'
exclude group: 'org.grails', module:'grails-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
exclude group: 'org.springframework', module:'spring-context'
exclude group: 'org.springframework', module:'spring-web'
exclude group: 'org.springframework', module:'spring-beans'
exclude group: 'org.springframework', module:'spring-tx'
exclude group: 'org.slf4j', module:'jcl-over-slf4j'
exclude group: 'org.slf4j', module:'jul-to-slf4j'
exclude group: 'org.slf4j', module:'slf4j-api'
exclude group: 'org.slf4j', module:'slf4j-simple'
exclude group: 'org.grails', module:'grails-bootstrap'
exclude group: 'org.grails', module:'grails-plugin-domain-class'
exclude group: 'org.grails', module:'grails-core'
exclude group: 'org.grails', module:'grails-web'
exclude group: 'org.grails', module:'grails-test'
exclude group: 'org.grails', module:'grails-async'
exclude group: 'org.grails', module:'grails-spring'
exclude group: 'commons-collections', module:'commons-collections'
exclude group: 'commons-lang', module:'commons-lang'
exclude group: 'javassit', module:'javassist'
exclude group: 'java-persistence', module:'persistence-api'
exclude group: 'javassist', module: 'javassist'
}
api "org.apache.tomcat:tomcat-jdbc:$tomcatVersion"
testRuntimeOnly "com.h2database:h2:$h2Version"
// // Required for AspectJ support
testRuntimeOnly "org.springframework:spring-aspects:${springVersion}"
testRuntimeOnly "org.aspectj:aspectjrt:$aspectjVersion",
"org.aspectj:aspectjweaver:$aspectjVersion"
testImplementation "org.grails.plugins:async:$asyncVersion", {
exclude module:'grails-plugin-codecs'
exclude module:'grails-plugin-controllers'
exclude module:'grails-core'
exclude module:'grails-plugin-domain-class'
}
testImplementation "org.grails:grails-gorm-testing-support:$testingSupportVersionForTests", {
exclude module:'grails-plugin-codecs'
exclude module:'grails-plugin-domain-class'
exclude module:'grails-test'
exclude module:'async'
}
}
test {
maxParallelForks = 2
forkEvery = isCiBuild ? 25 : 100
if(!isCiBuild) {
maxHeapSize = '2048m'
}
excludes = ['**/GrailsDomainBinderTests.class',
'**/ComponentValidationTests.class',
'**/HibernateMappingUniqueConstraintTests.class']
}
task testGrailsDomainBinder(type: Test) { includes = [
'**/GrailsDomainBinderTests.class'
] }
task testIsolatedPersistentOne(type: Test) {
includes = ['**/ComponentValidationTests.class']
includes = ['**/HibernateMappingUniqueConstraintTests.class']
}
test.dependsOn testGrailsDomainBinder, testIsolatedPersistentOne