-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (35 loc) · 1.01 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
buildscript {
dependencies {
classpath 'org.postgresql:postgresql:42.2.5'
}
}
plugins {
id 'org.springframework.boot' version '2.2.1.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'org.flywaydb.flyway' version '5.2.4'
id 'io.franzbecker.gradle-lombok' version '3.1.0'
id 'java'
}
group = 'com.java.date.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.flywaydb:flyway-core:5.2.4'
implementation 'org.postgresql:postgresql:42.2.5'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
flyway {
url = 'jdbc:postgresql://localhost:5432/postgres?currentSchema=datetime_example&useTimezone=true'
user = 'postgres'
password = 'datetime_example'
}
test {
useJUnitPlatform()
}