forked from UnitTestBot/UTBotJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (37 loc) · 1.84 KB
/
build.gradle
File metadata and controls
46 lines (37 loc) · 1.84 KB
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
configurations {
fetchSpringSampleJar
}
dependencies {
testImplementation(project(":utbot-framework"))
testImplementation(project(":utbot-spring-framework"))
testImplementation project(':utbot-testing')
testImplementation project(':utbot-spring-sample')
// To use JUnit4, comment out JUnit5 and uncomment JUnit4 dependencies here. Please also check "test" section
// testImplementation group: 'junit', name: 'junit', version: '4.13.1'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.8.1'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.8.1'
// used for testing code generation
testImplementation group: 'junit', name: 'junit', version: junit4Version
testImplementation group: 'org.junit.platform', name: 'junit-platform-console-standalone', version: junit4PlatformVersion
testImplementation group: 'org.mockito', name: 'mockito-core', version: mockitoVersion
testImplementation group: 'org.mockito', name: 'mockito-inline', version: mockitoInlineVersion
testImplementation group: 'org.jacoco', name: 'org.jacoco.report', version: jacocoVersion
testImplementation group: 'commons-io', name: 'commons-io', version: commonsIoVersion
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: springBootVersion
fetchSpringSampleJar project(path: ':utbot-spring-sample', configuration: 'springSampleJar')
}
configurations {
all {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}
test {
if (System.getProperty('DEBUG', 'false') == 'true') {
jvmArgs '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9009'
}
}
processTestResources {
from(configurations.fetchSpringSampleJar) {
into "lib"
}
}