-
Notifications
You must be signed in to change notification settings - Fork 81
/
dependencies.gradle
38 lines (37 loc) · 1.46 KB
/
dependencies.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
def VERSIONS = [
'io.micrometer:context-propagation:1.0.+',
'com.github.tomakehurst:wiremock-jre8-standalone:2.33.+',
'org.apache.httpcomponents.client5:httpclient5:5.1.+',
'io.javalin:javalin:4.+',
'io.projectreactor:reactor-core:3.5.7',
'io.projectreactor:reactor-test:3.5.7',
'io.netty:netty-transport:4.1.+',
'ch.qos.logback:logback-classic:1.2.+',
'org.asciidoctor:asciidoctorj:2.5.10',
'org.springframework:spring-context:5.+',
'org.aspectj:aspectjweaver:1.8.+',
'org.junit.jupiter:junit-jupiter:5.10.+', // Not using latest.release to avoid using a milestone version.
'org.junit.platform:junit-platform-launcher:1.8.+',
'org.assertj:assertj-core:latest.release',
'org.mockito:mockito-core:latest.release',
'org.mockito:mockito-inline:latest.release',
'org.slf4j:slf4j-api:1.7.+',
]
subprojects {
plugins.withId('java-library') {
dependencies {
constraints {
// Direct dependencies
VERSIONS.each { version->
// java-library plugin has three root configurations, so we apply constraints too all of
// them so they all can use the managed versions.
api version
compileOnly version
runtimeOnly version
}
}
implementation platform('io.micrometer:micrometer-bom:1.11.+')
implementation platform('io.micrometer:micrometer-tracing-bom:1.1.+')
}
}
}