-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.1 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
buildscript {
ext {
dockerComposePluginVersion = '0.8.4'
}
repositories {
mavenCentral()
}
dependencies {
classpath("com.avast.gradle.docker-compose:com.avast.gradle.docker-compose.gradle.plugin:$dockerComposePluginVersion")
}
}
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
apply plugin: 'docker-compose'
group = 'com.victuxbb.systemdesigns'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-redis-reactive'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}
configurations {
bootJar.archiveName = 'app.jar'
}
dockerCompose {
useComposeFiles = ['docker-compose.yml']
startedServices = ['redis']
waitForTcpPorts = true
captureContainersOutput = false
stopContainers = true
removeContainers = true
removeOrphans = true
}
dockerCompose.isRequiredBy(test)