-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
121 lines (89 loc) · 5.66 KB
/
build.gradle
File metadata and controls
121 lines (89 loc) · 5.66 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
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
121
buildscript {
ext {
springBootVersion = project.hasProperty('springBootVersion') ? project.springBootVersion : '3.5.0'
springVersion = project.hasProperty('springFrameworkVersion') ? project.springFrameworkVersion : '6.2.7'
jacksonVersion = '2.21.1'
retrofitVersion = '3.0.0'
mockitoVersion = '5.22.+' // At least Mockito 5.2.0 is required to Mock final classes
}
dependencies {
classpath 'org.owasp:dependency-check-gradle'
}
}
plugins {
id 'java'
id "org.owasp.dependencycheck" version "12.2.0"
id "io.freefair.lombok" version "9.2.0"
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
}
group 'ee.bitweb'
version '4.0.5'
java {
sourceCompatibility = '17'
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs.add("-parameters")
}
apply from: "test.gradle"
apply from: "sonarcloud.gradle"
apply from: "library.gradle"
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina
compileOnly group: 'org.apache.tomcat', name: 'tomcat-catalina', version: '10.1.52'
// https://mvnrepository.com/artifact/org.springframework/spring-webmvc
compileOnly group: 'org.springframework', name: 'spring-webmvc', version: "${springVersion}"
// https://mvnrepository.com/artifact/org.springframework/spring-tx
compileOnly group: 'org.springframework', name: 'spring-tx', version: "${springVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security
compileOnly group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.amqp/spring-amqp
compileOnly group: 'org.springframework.boot', name: 'spring-boot-starter-amqp', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-configuration-processor
annotationProcessor group: 'org.springframework.boot', name: 'spring-boot-configuration-processor', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-actuator
compileOnly group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-autoconfigure
compileOnly group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
compileOnly group: 'org.springframework.boot', name: 'spring-boot-starter-validation', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310
compileOnly group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "${jacksonVersion}"
// https://mvnrepository.com/artifact/jakarta.validation/jakarta.validation-api
compileOnly group: 'jakarta.validation', name: 'jakarta.validation-api', version: '3.1.1'
// https://mvnrepository.com/artifact/com.squareup.retrofit2/retrofit
compileOnly group: 'com.squareup.retrofit2', name: 'retrofit', version: "${retrofitVersion}"
// https://mvnrepository.com/artifact/com.squareup.retrofit2/converter-jackson
compileOnly group: 'com.squareup.retrofit2', name: 'converter-jackson', version: "${retrofitVersion}"
// https://mvnrepository.com/artifact/com.squareup.okhttp3/logging-interceptor
compileOnly group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '4.12.0'
// https://mvnrepository.com/artifact/de.siegmar/logback-gelf
compileOnly group: 'de.siegmar', name: 'logback-gelf', version: '6.1.+'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.springframework.amqp/spring-amqp
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-amqp', version: "${springBootVersion}"
// https://mvnrepository.com/artifact/org.json/json
testImplementation group: 'org.json', name: 'json', version: '20250517'
// https://mvnrepository.com/artifact/ee.bitweb/spring-test-core
testImplementation group: 'ee.bitweb', name: 'spring-test-core', version: '2.+'
// https://mvnrepository.com/artifact/org.mockito/mockito-core
testImplementation group: 'org.mockito', name: 'mockito-core', version: "${mockitoVersion}"
// https://mvnrepository.com/artifact/org.mockito/mockito-junit-jupiter
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: "${mockitoVersion}"
// https://mvnrepository.com/artifact/org.mock-server/mockserver-netty
testImplementation ("org.mock-server:mockserver-netty:5.15.0") {
exclude group: 'junit', module: 'junit'
}
testImplementation group : 'org.testcontainers', name: 'testcontainers', version: "1.+"
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
configurations {
testImplementation.extendsFrom compileOnly
}