-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (36 loc) · 931 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
plugins {
id 'java'
id 'jacoco'
id "org.sonarqube" version "3.1.1"
id 'com.adarshr.test-logger' version '2.1.1'
}
group 'walmart.bacal'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.mockito:mockito-core:4.3.1'
testImplementation 'org.assertj:assertj-core:3.22.0'
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
jacocoTestReport {
reports {
xml.enabled true
}
}
sonarqube {
properties {
property "sonar.projectKey", "darielrll_bacal"
property "sonar.organization", "darielrll-github"
property "sonar.host.url", "https://sonarcloud.io"
}
}
tasks.named('test') {
// Use junit platform for unit tests.
useJUnitPlatform()
}