forked from jveverka/java-11-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (25 loc) · 800 Bytes
/
build.gradle
File metadata and controls
32 lines (25 loc) · 800 Bytes
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
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'org.slf4j:slf4j-simple:1.7.30'
implementation 'org.postgresql:postgresql:42.2.12'
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:postgresql:1.15.1'
}
test {
// enable TestNG support (default is JUnit)
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}