-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 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
38
39
40
plugins {
id 'org.springframework.boot' version '2.1.5.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
wrapper {
distributionType = Wrapper.DistributionType.BIN
gradleVersion = '5.4.1' // version required
}
repositories {
mavenCentral()
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter')
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'junit', module: 'junit'
}
testImplementation('org.testcontainers:testcontainers:1.10.2') {
exclude group: 'junit', module: 'junit'
}
testImplementation('org.testcontainers:postgresql:1.7.3') {
exclude group: 'junit', module: 'junit'
}
testImplementation('org.testcontainers:junit-jupiter:1.11.2')
testImplementation('org.mockito:mockito-junit-jupiter:2.23.0')
testImplementation('org.junit.jupiter:junit-jupiter-api:5.3.1')
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.3.1')
}
test {
useJUnitPlatform()
}