-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
87 lines (76 loc) · 2.3 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
86
87
plugins {
id "org.sonarqube" version "3.4.0.2513"
id 'jacoco'
}
allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
group = 'com.stormeye'
version = '1.0.0'
sourceCompatibility = '17'
// Place dependency version numbers here, because sub-projects cannot access root project gradle.properties
ext {
casperSdkVersion = '2.0.0'
commonsConfigurationVersion = '2.8.0'
commonsIoVersion = '2.11.0'
commonsLangVersion = '3.12.0'
commonsTextVersion = '1.9'
cryptokeyVersion = '0.4.0'
hamcrestVersion = '2.2'
h2databaseVersion = '2.1.214'
httpclientversion = '4.5.13'
jodaTimeVersion = '2.12.1'
jsonAssertVersion = '2.7.0'
jsonrpc4jVersion = '1.6.1-oak'
junitVersion = '5.9.0'
log4jVersion = '2.18.0'
lombokVersion = '1.18.24'
lombokPluginVersion = '6.2.0'
mockwebserverVersion = '4.10.0'
mongoDriverVersion = '4.8.0'
okhttpVersion = '4.10.0'
openapiUiVersion = '1.6.11'
postgresqlVersion = '42.5.0'
sbs4jVersion = '0.1.5'
snakeyamlVersion = '1.33'
springBootVersion = '2.7.4'
springDataMongodbVersion = '4.0.0'
springDependencyManagementVersion = '1.0.14.RELEASE'
springKafkaVersion = '2.9.0'
springRetryVerion = '1.3.3'
springActuator = '2.7.5'
hibernateTypesVersion = '2.20.0'
}
test {
finalizedBy jacocoTestReport // report is always generated after tests run
}
jacocoTestReport {
dependsOn test // tests are required to run before generating the report
reports {
xml.required = true
csv.required = false
}
}
}
repositories {
mavenCentral()
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}
tasks.named('test') {
useJUnitPlatform()
}
subprojects {
repositories {
mavenCentral()
}
sonarqube {
properties {
property "sonar.sources", "src"
property "sonar.exclusions", "**/assets/**, **/test/**, **/*Application.class"
}
}
}