-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
58 lines (49 loc) · 1.57 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
58
plugins {
id "idea"
id "java"
id "com.github.hierynomus.license" version "0.14.0"
id "org.flywaydb.flyway" version "6.4.4"
id "org.springframework.boot" version "2.3.6.RELEASE"
id "io.spring.dependency-management" version "1.0.10.RELEASE"
}
// Project Configuration
group = "com.github.gregwhitaker"
version = "0.1.0"
// Dependency Management
repositories {
mavenCentral()
}
dependencies {
implementation "com.github.ben-manes.caffeine:caffeine:2.6.2"
implementation "commons-codec:commons-codec:1.11"
implementation "org.flywaydb:flyway-core"
implementation "org.springframework.boot:spring-boot-starter-jdbc"
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-webflux"
runtime "org.postgresql:postgresql"
testImplementation "io.projectreactor:reactor-test"
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation "org.springframework.security:spring-security-test"
}
// Test
test {
useJUnitPlatform()
}
// Docker
bootBuildImage {
verboseLogging = true
imageName = "${project.group}/${project.name}:${project.version}"
}
// Database
flyway {
url = "jdbc:postgresql://localhost:5432/postgres"
user = "postgres"
}
// Licensing
license {
header rootProject.file("codequality/HEADER")
strictCheck true
excludes([ "**/*.json", "**/*.html", "**/*.js", "**/*.jpg" ])
}