-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
53 lines (46 loc) · 831 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
49
50
51
52
53
plugins {
id 'java'
id "org.sonarqube" version "4.2.1.3168"
id "com.diffplug.spotless" version "6.20.0"
id 'test-report-aggregation'
}
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src/main/java/'
}
resources {
srcDir 'Images/'
}
}
}
jar {
manifest {
attributes(
'Main-Class': 'DCourt.DCourtFrame',
)
}
}
dependencies {
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:5.4.0'
}
spotless {
java {
googleJavaFormat()
}
}
test {
// Discover and execute JUnit4-based tests
useJUnit()
}
reporting {
reports {
testAggregateTestReport(AggregateTestReport) {
testType = TestSuiteType.UNIT_TEST
}
}
}