-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
58 lines (47 loc) · 1.67 KB
/
build.gradle.kts
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
plugins {
// Support for Java Library
`java-library`
// Idea plugin
idea
// Code coverage
jacoco
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
// This dependency is exported to consumers, that is to say found on their compile classpath
api("org.apache.commons:commons-math3:3.6.1")
// This dependency is used internally, and not exposed to consumers on their own compile classpath
implementation("com.google.guava:guava:29.0-jre")
// Spring framework
implementation("org.springframework:spring-web:5.2.8.RELEASE")
implementation("org.springframework.data:spring-data-commons:2.3.2.RELEASE")
implementation("org.springframework.data:spring-data-mongodb:3.0.2.RELEASE")
implementation("org.springframework.security:spring-security-crypto:5.3.3.RELEASE")
// Fasterxml jackson
implementation("com.fasterxml.jackson.core:jackson-databind:2.11.1")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.1")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.1")
// Apache Commons Codec
implementation("commons-codec:commons-codec:1.14")
// JUnit test framework
testImplementation("junit:junit:4.13")
}
tasks.test {
// Report is always generated after tests run
finalizedBy(tasks.jacocoTestReport)
}
tasks.jacocoTestReport {
// Tests are required to run before generating the report
dependsOn(tasks.test)
reports {
html.isEnabled = true
html.destination = file("${buildDir}/reports/coverage")
}
}