-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (30 loc) · 1.01 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
apply from: 'dependencies.gradle'
apply plugin: 'java'
sourceCompatibility=21
repositories {
mavenCentral()
}
configurations.all {
// Check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
test {
// set heap size for the test JVM(s)
minHeapSize = "1024m"
maxHeapSize = "2048m"
useJUnitPlatform()
}
dependencies {
implementation commonDependencies.apache_commons
implementation commonDependencies.jackson_core
compileOnly commonDependencies.lombok
annotationProcessor commonDependencies.lombok
//Tests
testCompileOnly commonDependencies.lombok
testAnnotationProcessor commonDependencies.lombok
testImplementation platform(commonDependencies.junit_bom)
testImplementation commonDependencies.junit_api
testRuntimeOnly commonDependencies.junit_engine
testImplementation platform(commonDependencies.mockito_bom)
testImplementation commonDependencies.mockito
}