-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·58 lines (43 loc) · 1.04 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
plugins {
id 'org.kordamp.gradle.jacoco' version '0.43.0'
}
allprojects {
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'jacoco'
group = 'oopp'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = "16"
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 'org.webjars:sockjs-client:1.5.1'
implementation 'org.webjars:bootstrap:3.3.7'
implementation 'org.webjars:jquery:3.1.1-1'
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'
}
}