forked from venasolutions/bosk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
51 lines (41 loc) · 1.21 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
plugins {
id 'bosk.development'
id 'bosk.maven-publish'
id 'info.solidsoft.pitest' version '1.15.0'
id 'com.github.spotbugs' version '5.1.5'
}
base {
archivesName = 'bosk-mongo'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(jdkVersion)
}
}
compileJava {
options.release = prodJavaVersion
}
compileTestJava {
options.release = null
}
dependencies {
api project(":bosk-core")
api 'org.mongodb:mongodb-driver-sync:5.1.2'
implementation 'com.github.spotbugs:spotbugs-annotations:4.8.6' // To stop warnings about When from MongoDB driver
// Allows us to annotate status objects so they're handy to serialize with jackson
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.18.1'
testImplementation project(":bosk-logback")
testImplementation project(":bosk-testing")
testImplementation project(":lib-testing")
}
pitest {
pitestVersion = '1.15.0'
junit5PluginVersion = '1.2.0'
jvmArgs = ['-ea'] // Our unit tests check for assert statements
targetClasses = ['works.bosk.drivers.mongo.BsonSurgeon']
targetTests = ['works.bosk.drivers.mongo.BsonSurgeonTest']
threads = 4
outputFormats = ['XML', 'HTML']
timestampedReports = false
//verbose = true
}