-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·57 lines (51 loc) · 1.76 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
buildscript {
ext {
springBootVersion = '2.0.4.RELEASE'
liquibaseVersion = '2.0.0'
changeLogFile = file('src/main/resources/db/db-schema.xml')
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.liquibase:liquibase-gradle-plugin:${liquibaseVersion}")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: "org.liquibase.gradle"
group = 'com.jankkol'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-data-rest')
compile('org.springframework.boot:spring-boot-starter-web')
compile("org.springframework.boot:spring-boot-starter-hateoas")
compile('org.projectlombok:lombok:1.18.2')
runtime('org.springframework.boot:spring-boot-devtools')
runtime('org.postgresql:postgresql')
testCompile('junit:junit:4.12')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('com.jayway.jsonpath:json-path:2.2.0')
testCompile('com.h2database:h2:1.4.194')
testCompile 'org.liquibase:liquibase-core:3.6.1'
liquibaseRuntime 'org.liquibase:liquibase-core:3.6.1'
liquibaseRuntime 'org.liquibase:liquibase-groovy-dsl:2.0.0'
liquibaseRuntime 'postgresql:postgresql:9.0-801.jdbc4'
}
liquibase {
activities {
main {
changeLogFile project.ext.changeLogFile
url 'jdbc:postgresql://172.17.0.2:5432/postgres'
username 'postgres'
password '1234'
}
}
}