-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
85 lines (75 loc) · 2.83 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
plugins {
id 'org.springframework.boot' version '2.3.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id "org.sonarqube" version "3.0"
id 'jacoco'
}
group = 'in.org.projecteka'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
task bootRunLocal {
bootRun.configure {
systemProperty "spring.profiles.active", 'local'
}
}
bootRunLocal.finalizedBy bootRun
sonarqube {
properties {
property "sonar.projectKey", "ProjectEKA_health-information-user"
property "sonar.organization", "projecteka"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.login", "dd5db84dbf8f6dbd393291c26fe038ab54f00072"
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml'
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-amqp'
implementation 'org.springframework:spring-context-support'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.vertx:vertx-pg-client:3.9.2'
implementation 'log4j:log4j:1.2.17'
implementation 'com.google.guava:guava:29.0-jre'
implementation 'org.springframework.boot:spring-boot-starter-validation'
compileOnly 'org.projectlombok:lombok'
implementation 'org.bouncycastle:bcprov-jdk15on:1.66'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation "com.squareup.okhttp3:okhttp:4.8.0"
testImplementation "com.squareup.okhttp3:mockwebserver:4.8.0"
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.jeasy:easy-random-core:4.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-base:4.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-r4:4.2.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.12'
implementation 'com.nimbusds:nimbus-jose-jwt:8.19'
implementation 'org.passay:passay:1.6.0'
implementation 'io.vavr:vavr:0.10.3'
implementation 'io.lettuce:lettuce-core:5.3.2.RELEASE'
implementation 'org.springframework.data:spring-data-redis'
implementation 'net.logstash.logback:logstash-logback-encoder:6.4'
}
test {
useJUnitPlatform()
}
jacocoTestReport {
additionalSourceDirs.from = files(sourceSets.main.allJava.srcDirs)
reports {
html.enabled true
xml.enabled true
csv.enabled false
html.destination file("build/reports/jacoco/html")
}
executionData.from = files('build/jacoco/test.exec')
}