-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (41 loc) · 997 Bytes
/
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
plugins {
id 'org.kordamp.gradle.jacoco' version '0.54.0'
}
allprojects {
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
group = 'oopp'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
checkstyle {
toolVersion "9.2.1"
ignoreFailures = false
maxErrors = 0
maxWarnings = 0
configFile = '../checkstyle.xml' as File
}
tasks.named('test') {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacocoTestReport {
reports {
xml.required = false
csv.required = false
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}
dependencies {
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.15.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.mockito:mockito-core:4.1.0'
}
}