forked from micrometer-metrics/micrometer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
102 lines (101 loc) · 4.99 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
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
def VERSIONS = [
'ch.qos.logback:logback-classic:1.2.+',
'colt:colt:1.2.0',
'com.amazonaws:aws-java-sdk-cloudwatch:latest.release',
'com.dynatrace.metric.util:dynatrace-metric-utils-java:latest.release',
'com.fasterxml.jackson.core:jackson-databind:latest.release',
'com.github.ben-manes.caffeine:caffeine:2.+',
'com.github.charithe:kafka-junit:latest.release',
'com.github.tomakehurst:wiremock-jre8-standalone:latest.release',
'com.google.cloud:google-cloud-monitoring:latest.release',
'com.google.dagger:dagger:2.11',
'com.google.dagger:dagger-compiler:2.11',
'com.google.guava:guava:latest.release',
'com.google.inject:guice:5.+',
'com.hazelcast:hazelcast:latest.release',
'com.h2database:h2:latest.release',
'com.microsoft.azure:applicationinsights-core:latest.release',
// metrics are better with https://github.com/Netflix/Hystrix/pull/1568 introduced
// in hystrix 1.5.12, but Netflix re-released 1.5.11 as 1.5.18 late in 2018.
// <=1.5.11 or 1.5.18 doesn't break with Micrometer, but open metrics won't be correct necessarily.
'com.netflix.hystrix:hystrix-core:1.5.12',
'com.netflix.spectator:spectator-reg-atlas:latest.release',
'com.newrelic.agent.java:newrelic-api:5.+',
'com.signalfx.public:signalfx-java:latest.release',
'com.squareup.okhttp3:okhttp:latest.release',
'com.tngtech.archunit:archunit-junit5:latest.release',
'com.wavefront:wavefront-sdk-java:latest.release',
'io.dropwizard.metrics:metrics-core:4.+',
'io.dropwizard.metrics:metrics-graphite:4.+',
'io.dropwizard.metrics:metrics-jmx:4.+',
// all io.grpc libraries must use the same version
'io.grpc:grpc-api:latest.release',
'io.grpc:grpc-core:latest.release',
'io.grpc:grpc-services:latest.release',
'io.grpc:grpc-stubs:latest.release',
'io.grpc:grpc-alts:latest.release',
'info.ganglia.gmetric4j:gmetric4j:latest.release',
'io.prometheus:simpleclient_common:latest.release',
'io.prometheus:simpleclient_pushgateway:latest.release',
'javax.cache:cache-api:latest.release',
'javax.inject:javax.inject:1',
'javax.servlet:javax.servlet-api:latest.release',
'javax.xml.bind:jaxb-api:2.3.+',
// TODO: Consider where this should live
'io.micrometer:context-propagation-api:1.0.0-M2',
'net.sf.ehcache:ehcache:latest.release',
'org.apache.httpcomponents:httpasyncclient:latest.release',
'org.apache.httpcomponents:httpclient:latest.release',
'org.apache.kafka:kafka-clients:2.+',
'org.apache.kafka:kafka-streams:2.+',
'org.apache.logging.log4j:log4j-core:2.+',
'org.apache.tomcat.embed:tomcat-embed-core:8.+',
'org.aspectj:aspectjweaver:1.8.+',
'org.assertj:assertj-core:latest.release',
'org.awaitility:awaitility:latest.release',
'org.eclipse.jetty:jetty-client:9.+',
'org.eclipse.jetty:jetty-server:9.+',
'org.ehcache:ehcache:latest.release',
'org.glassfish.jersey.core:jersey-server:2.+',
'org.glassfish.jersey.inject:jersey-hk2:2.+',
'org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-inmemory:2.+',
'org.hdrhistogram:HdrHistogram:latest.release',
'org.hibernate:hibernate-entitymanager:5.+',
'org.hsqldb:hsqldb:2.5.+', // 2.6.0 requires JDK 11.
'org.jooq:jooq:3.14.+',
'org.jsr107.ri:cache-ri-impl:1.0.0',
'org.junit.jupiter:junit-jupiter:5.8.+', // Not using latest.release to avoid using a milestone version.
'org.junit.platform:junit-platform-launcher:1.8.+',
'org.latencyutils:LatencyUtils:latest.release',
'org.mockito:mockito-core:latest.release',
'org.mockito:mockito-inline:latest.release',
'org.mongodb:mongodb-driver-sync:latest.release',
'org.postgresql:postgresql:latest.release',
'org.slf4j:slf4j-api:1.7.+',
'org.springframework:spring-context:5.+',
'org.testcontainers:junit-jupiter:latest.release',
'org.testcontainers:kafka:latest.release',
'org.testcontainers:postgresql:latest.release',
'org.testcontainers:mongodb:latest.release',
'org.testcontainers:testcontainers:latest.release',
'ru.lanwen.wiremock:wiremock-junit5:latest.release',
'software.amazon.awssdk:cloudwatch:latest.release'
]
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.projectreactor:reactor-bom:2020.0.+')
implementation platform('io.netty:netty-bom:4.1.+')
}
}
}