-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (39 loc) · 1.43 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 '3.0.6'
id 'io.spring.dependency-management' version '1.1.0'
id 'com.bmuschko.docker-spring-boot-application' version '7.4.0'
}
apply plugin: "java"
group = 'com.davefarrelly'
version = project.hasProperty('BUILD_VERSION') ? project['BUILD_VERSION'] : '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(18))
}
}
ext.setProperty "serviceName", rootProject.name
configurations {
compileOnly {
extendsFrom annotationProcessor
}
implementation.exclude group: 'org.springframework', module: 'spring-webmvc'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap:4.0.2'
implementation 'ch.qos.logback.contrib:logback-jackson:0.1.5'
implementation 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
implementation 'net.logstash.logback:logstash-logback-encoder:7.2'
implementation 'io.micrometer:micrometer-core:1.10.3'
implementation 'io.micrometer:micrometer-tracing:1.1.0'
implementation 'io.micrometer:micrometer-tracing-bridge-brave:1.1.0'
annotationProcessor 'org.projectlombok:lombok'
}
tasks.named('test') {
useJUnitPlatform()
}