-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (35 loc) · 1.17 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
plugins {
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
id "org.flywaydb.flyway" version "6.2.4"
}
group = 'de.restaurantsearch'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
compile("org.springframework.boot:spring-boot-starter-web")
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile "org.mockito:mockito-core:2.+"
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
compile group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
compile group: 'org.flywaydb', name: 'flyway-core', version: '6.2.1'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-log4j2', version: '2.2.4.RELEASE'
}
test {
useJUnitPlatform()
}
flyway {
url = 'jdbc:postgresql://localhost:5432/API_PLAYGROUND'
user = ''
password = ''
schemas = ['API_PLAYGROUND']
}