This repository has been archived by the owner on May 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (43 loc) · 1.72 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
plugins {
id 'org.springframework.boot' version '2.1.9.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'com.google.cloud.tools.jib' version '1.6.1'
id 'com.avast.gradle.docker-compose' version '0.9.5'
id 'java'
}
group = 'com.cocowmn'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.slf4j:slf4j-api:1.7.26'
implementation 'org.postgresql:postgresql:42.2.8'
implementation 'io.prometheus:simpleclient:0.7.0'
implementation 'io.prometheus:simpleclient_hotspot:0.7.0'
implementation 'io.prometheus:simpleclient_httpserver:0.7.0'
implementation 'io.prometheus:simpleclient_pushgateway:0.7.0'
implementation 'io.micrometer:micrometer-registry-prometheus:1.2.0'
compileOnly 'org.projectlombok:lombok'
compile("org.springframework.boot:spring-boot-starter-actuator")
compile group: 'ch.qos.logback', name:'logback-classic', version: '1.0.9'
compile group: 'ch.qos.logback', name:'logback-core', version: '1.0.9'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.assertj:assertj-core:3.12.2'
testImplementation 'org.mockito:mockito-core:3.1.0'
}
tasks.build.dependsOn tasks.jib
jib.to.image = 'cocowmn/stockx_true_to_size'
apply plugin: 'docker-compose'
dockerCompose.isRequiredBy(test)
dockerCompose.isRequiredBy(build)
dockerCompose.isRequiredBy(bootRun)