-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
66 lines (52 loc) · 1.55 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
60
61
62
63
64
65
66
plugins {
id 'java'
id 'jacoco'
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}
group 'com.compass.vinyl'
version '2.0'
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.11.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.0'
implementation group: 'com.fasterxml.jackson.module', name:'jackson-module-kotlin', version:'2.11.0'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.7.2'
implementation group: 'org.rocksdb', name: 'rocksdbjni', version: '5.5.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.4.0'
testImplementation("com.squareup.okhttp3:mockwebserver:4.7.2")
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.4.0'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
jacoco {
toolVersion = "0.8.5"
}
test {
useJUnitPlatform()
// generate report after the tests are run
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.enabled true
xml.destination file("${buildDir}/reports/jacoco/report.xml")
html.enabled true
csv.enabled false
}
}