-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (35 loc) · 895 Bytes
/
build.gradle
File metadata and controls
42 lines (35 loc) · 895 Bytes
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
plugins {
id 'java'
id 'application'
id 'eclipse'
id 'jacoco'
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
// Use JUnit test framework
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
}
test {
// Indicate to use the new JUnit5 platform
useJUnitPlatform()
maxHeapSize = '1G'
}
// Code Coverage
jacoco {
toolVersion = "0.8.4"
// reportsDir = file("$buildDir/customJacocoReportDir")
}
// jacocoTestReport {
// reports {
// xml.enabled false
// csv.enabled false
// html.destination file("${buildDir}/jacocoHtml")
// }
// }
// Define the main class for the application
mainClassName = 'com.jdbc.javatesting.main.App'