-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
38 lines (32 loc) · 818 Bytes
/
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
plugins {
id 'com.gradle.build-scan' version '1.11'
id 'java'
id 'application'
id 'org.flywaydb.flyway' version '4.2.0'
}
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
publishAlways()
}
group = 'com.github.gregwhitaker'
version = '0.1.0'
sourceCompatibility = 1.8
mainClassName = 'caffeine.caching.example.Main'
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile 'org.postgresql:postgresql:42.1.4'
compile 'com.github.ben-manes.caffeine:caffeine:2.6.1'
compile 'com.zaxxer:HikariCP:2.7.6'
compile 'org.slf4j:slf4j-simple:1.7.22'
}
flyway {
url = 'jdbc:postgresql://localhost:5432/postgres'
user = 'postgres'
}
clean.dependsOn(flywayClean)
build.dependsOn(flywayMigrate)
run.dependsOn(build)