-
Notifications
You must be signed in to change notification settings - Fork 34
/
build.gradle
63 lines (55 loc) · 1.49 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
59
60
61
62
63
plugins {
id 'org.springframework.boot' version '2.5.6'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id "org.sonarqube" version "3.4.0.2513"
id 'java'
id 'jacoco'
}
jacocoTestReport {
reports {
xml.enabled true
}
}
test.finalizedBy jacocoTestReport
sonarqube {
properties {
property 'sonar.host.url', 'http://sonarqube-speaker01.apps.penguin.rhtw.kubedev.org'
property "sonar.login", "admin"
property "sonar.password", "redhat"
property 'sonar.java.source', 11
property 'encoding', 'UTF-8'
property 'charSet', 'UTF-8'
}
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven {
url "https://repo.spring.io/milestone"
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'io.grpc:grpc-okhttp:1.50.0'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.2.32'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2020.0.4"
}
}
tasks.named('test') {
useJUnitPlatform()
}