-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathbuild.gradle
More file actions
88 lines (71 loc) · 3.85 KB
/
build.gradle
File metadata and controls
88 lines (71 loc) · 3.85 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
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
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11
freeCompilerArgs += ["-Xallow-result-return-type", "-Xsam-conversions=class"]
}
}
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
flatDir {
dirs 'dist'
}
}
configurations {
z3native
}
dependencies {
api project(':utbot-framework-api')
testImplementation project(':utbot-testing')
api project(':utbot-fuzzers')
api project(':utbot-instrumentation')
api project(':utbot-summary')
implementation(project(":utbot-framework"))
testImplementation project(':utbot-sample')
testImplementation project(":utbot-framework").sourceSets.test.output
testImplementation project(":utbot-core").sourceSets.test.output
implementation("org.unittestbot.soot:soot-utbot-fork:${sootVersion}") {
exclude group:'com.google.guava', module:'guava'
}
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: jacksonVersion
implementation group: 'org.sosy-lab', name: 'javasmt-solver-z3', version: javasmtSolverZ3Version
implementation group: 'com.github.curious-odd-man', name: 'rgxgen', version: rgxgenVersion
implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: log4j2Version
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: kotlinLoggingVersion
implementation group: 'org.apache.commons', name: 'commons-text', version: apacheCommonsTextVersion
// we need this for construction mocks from composite models
implementation group: 'org.mockito', name: 'mockito-core', version: '4.2.0'
// 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: 'commons-io', name: 'commons-io', version: commonsIoVersion
testImplementation group: 'junit', name: 'junit', version: junit4Version
testImplementation group: 'org.junit.platform', name: 'junit-platform-console-standalone', version: junit4PlatformVersion
testImplementation group: 'org.antlr', name: 'antlr4', version: antlrVersion
testImplementation group: 'org.mockito', name: 'mockito-core', version: mockitoVersion
testImplementation group: 'org.testng', name: 'testng', version: testNgVersion
testImplementation group: 'org.mockito', name: 'mockito-inline', version: mockitoInlineVersion
testImplementation group: 'com.google.guava', name: 'guava', version: guavaVersion
testImplementation group: 'org.mockito', name: 'mockito-inline', version: mockitoInlineVersion
testImplementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4j2Version
z3native group: 'com.microsoft.z3', name: 'z3-native-win64', version: z3Version, ext: 'zip'
z3native group: 'com.microsoft.z3', name: 'z3-native-linux64', version: z3Version, ext: 'zip'
z3native group: 'com.microsoft.z3', name: 'z3-native-osx', version: z3Version, ext: 'zip'
}
test {
minHeapSize = "128m"
maxHeapSize = "2048m"
jvmArgs '-XX:MaxHeapSize=2048m'
// To use JUnit4, comment out useJUnitPlatform and uncomment useJUnit. Please also check "dependencies" section
//useJUnit()
useJUnitPlatform() {
excludeTags 'slow', 'IntegrationTest'
}
if (System.getProperty('DEBUG', 'false') == 'true') {
jvmArgs '-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9009'
}
}