forked from Honyrik/report-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
121 lines (104 loc) · 3.34 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
buildscript {
ext {
springVersion = "3.2.8"
springDependencyVersion = "1.1.6"
junitBomVersion = "5.10.0"
lombokVersion = '1.18.34'
HikariCPVersion = '5.1.0'
postgresqlVersion = '42.7.3'
ojdbc11Verion = '23.3.0.23.09'
hibernateCoreVerion = '6.6.0.Final'
queryDslVersion = '5.0.0'
javaxVersion = '1.3.2'
jakartaPersistenceApiVersion = '3.2.0'
jakartaServletVersion = '6.1.0'
springdocVersion = '2.6.0'
ttddyyVersion = '1.10'
jacksonVersion = '2.17.2'
projectreactorVersion = '3.6.9'
commonsLang3Version = '3.17.0'
cronutilsVersion = '9.2.1'
jasperreportsVersion = '6.21.3'
itextVersion = '4.2.2'
awsJavaSdkS3Version = '1.12.772'
reflectionsVersion = '0.10.2'
shedlockProviderJdbcTemplateVersion = '5.16.0'
commonsCompressVersion = '1.27.1'
}
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'idea'
id 'eclipse'
id 'application'
id 'jacoco'
id 'jacoco-report-aggregation'
id 'org.springframework.boot' version "${springVersion}"
id 'io.spring.dependency-management' version "${springDependencyVersion}"
}
allprojects {
apply plugin: 'jacoco'
repositories {
mavenCentral()
}
jacocoTestReport {
reports {
xml.required = false
csv.required = false
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}
}
group = 'ru.tehnobear'
version = '0.0.1'
java {
sourceCompatibility = "17"
}
application {
mainClass = "ru.tehnobear.essence.EssenceReportApplication"
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-autoconfigure
implementation 'org.springframework.boot:spring-boot-autoconfigure'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation fileTree(dir: 'extra_lib', include: '*.jar')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// modules
implementation project(":modules:receiver")
implementation project(":modules:share")
implementation project(":modules:report")
implementation project(":modules:service")
// util
annotationProcessor "javax.annotation:javax.annotation-api:${javaxVersion}"
annotationProcessor "jakarta.persistence:jakarta.persistence-api:${jakartaPersistenceApiVersion}"
implementation "jakarta.persistence:jakarta.persistence-api:${jakartaPersistenceApiVersion}"
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation "org.apache.commons:commons-lang3:${commonsLang3Version}"
// lombok
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation platform("org.junit:junit-bom:${junitBomVersion}")
testImplementation 'org.junit.jupiter:junit-jupiter'
}
tasks.named('test') {
useJUnitPlatform()
}
jacocoTestReport {
reports {
xml.required = false
csv.required = false
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}
tasks.named('check') {
dependsOn tasks.named('testCodeCoverageReport', JacocoReport)
}