-
Notifications
You must be signed in to change notification settings - Fork 54
/
build.gradle
37 lines (29 loc) · 1.09 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
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 11
targetCompatibility = 11
mainClassName = 'itx.examples.mongodb.Main'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.mongodb:mongodb-driver-sync:4.1.0'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'org.slf4j:slf4j-simple:1.7.30'
implementation 'com.fasterxml.jackson.core:jackson-core:2.11.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.11.2'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.11.2'
implementation 'org.mongojack:mongojack:4.0.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.6.2'
testImplementation 'org.testcontainers:junit-jupiter:1.15.1'
testImplementation 'org.testcontainers:mongodb:1.15.1'
}
test {
// enable TestNG support (default is JUnit)
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}