-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (46 loc) · 1.46 KB
/
build.gradle
File metadata and controls
56 lines (46 loc) · 1.46 KB
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
plugins {
id 'org.springframework.boot' version '2.3.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'jacoco'
id 'java'
id "org.sonarqube" version "3.0"
}
group = 'com.ebm'
version = '0.0.1'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.mapstruct:mapstruct:1.4.0.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0.Final'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
jacocoTestReport {
reports {
xml.enabled true
}
}
test {
useJUnitPlatform()
}
sonarqube {
properties {
property "sonar.projectKey", "leolplex_API-Evidence-Based-Management"
property "sonar.organization", "leolplex"
property "sonar.projectVersion", "1.0.2"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.coverage.exclusions", "**/*EvidenceBasedManagementApplication.java, **/*SecurityConfig.java"
}
}
test.finalizedBy jacocoTestReport
tasks['sonarqube'].dependsOn test