forked from finos/traderX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (52 loc) · 1.42 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
59
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our samples at https://docs.gradle.org/8.0.2/samples
*/
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.3'
id 'io.spring.dependency-management' version '1.1.6'
id 'info.solidsoft.pitest' version '1.15.0'
}
group = 'finos.traderx.trade-processor'
version = '0.0.1-SNAPSHOT'
java{
sourceCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.h2database:h2:2.2.224'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0'
implementation('org.json:json:20240303') {
because 'previous versions are affected by multiple CVE'
}
implementation ('io.socket:socket.io-client:2.1.0'){
exclude group: 'org.json', module: 'json'
}
testImplementation 'org.springframework.boot:spring-boot-starter-test'
pitest 'org.pitest:pitest-junit5-plugin:1.2.1'
}
sourceSets {
test {
java {
srcDirs = ['src/test/java']
}
}
}
pitest {
targetTests = ['**DiffblueTest*']
failWhenNoMutations = false
exportLineCoverage = true
outputFormats = ['XML', 'HTML']
timestampedReports = false
targetClasses = ['finos.traderx.*']
}
tasks.named('test') {
useJUnitPlatform()
}