-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (69 loc) · 2.04 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
plugins {
id 'org.springframework.boot' version '2.7.1'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id 'java'
id 'com.github.spotbugs' version '4.7.1'
id 'checkstyle'
id 'jacoco'
}
group = 'com.crio'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
mavenLocal()
maven { url 'https://repo.spring.io/milestone' }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-amqp:2.7.1'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb:2.7.1'
implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.7.1'
implementation 'org.springframework.boot:spring-boot-starter-web:2.7.1'
implementation 'org.modelmapper:modelmapper:2.4.4'
compileOnly 'org.projectlombok:lombok:1.18.24'
testImplementation 'com.h2database:h2:2.1.214'
implementation 'mysql:mysql-connector-java:8.0.29'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.1'
// https://mvnrepository.com/artifact/javax.validation/validation-api
implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
// testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo:2.7.1'
// testImplementation 'org.springframework.amqp:spring-rabbit-test:2.7.1'
}
// Helps faster load times in Crio workspace.
allprojects {
buildDir = '/tmp/external_build'
}
spotbugsMain {
ignoreFailures = true
reports {
xml.enabled = false
html.enabled = true
}
}
spotbugsTest {
ignoreFailures = true
reports {
xml.enabled = false
html.enabled = true
}
}
jacoco {
toolVersion = "0.8.8"
}
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
}
}
test {
useJUnitPlatform()
testLogging.events ("STANDARD_ERROR")
testLogging.events ("STANDARD_OUT")
}