-
Notifications
You must be signed in to change notification settings - Fork 1k
/
build.gradle
163 lines (120 loc) · 5.19 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
description 'Core module of Micrometer containing instrumentation API and implementation'
dependencies {
// TODO(anuraaga): HdrHistogram is exposed in the micrometer API but probably shouldn't be
api 'org.hdrhistogram:HdrHistogram'
implementation('org.latencyutils:LatencyUtils') {
exclude group: 'org.hdrhistogram', module: 'HdrHistogram'
}
// Aspects
optionalApi 'org.aspectj:aspectjweaver'
// instrumentation options
optionalApi 'io.dropwizard.metrics:metrics-core'
// cache monitoring
optionalApi 'com.google.guava:guava'
optionalApi 'com.github.ben-manes.caffeine:caffeine'
optionalApi 'net.sf.ehcache:ehcache'
optionalApi 'javax.cache:cache-api'
optionalApi 'com.hazelcast:hazelcast'
optionalApi 'org.hibernate:hibernate-entitymanager'
// server runtime monitoring
optionalApi 'org.eclipse.jetty:jetty-server'
optionalApi 'org.eclipse.jetty:jetty-client'
optionalApi 'org.apache.tomcat.embed:tomcat-embed-core'
optionalApi 'org.glassfish.jersey.core:jersey-server'
optionalApi 'io.grpc:grpc-api'
// apache httpcomponents monitoring
optionalApi 'org.apache.httpcomponents:httpclient'
optionalApi 'org.apache.httpcomponents:httpasyncclient'
// hystrix monitoring
optionalApi 'com.netflix.hystrix:hystrix-core'
// log monitoring
optionalApi 'ch.qos.logback:logback-classic'
optionalApi 'org.apache.logging.log4j:log4j-core'
// reactor
optionalApi 'io.projectreactor:reactor-core'
optionalApi 'io.projectreactor.netty:reactor-netty-http'
optionalApi 'com.squareup.okhttp3:okhttp'
optionalApi 'org.mongodb:mongodb-driver-sync'
optionalApi 'org.jooq:jooq'
optionalApi 'org.apache.kafka:kafka-clients'
optionalApi 'org.apache.kafka:kafka-streams'
testImplementation 'io.projectreactor:reactor-test'
// dependency injection tests
testImplementation 'javax.inject:javax.inject'
testImplementation 'org.springframework:spring-context'
testImplementation 'com.google.inject:guice'
// Uncomment these if you are interested in testing injection with dagger in MeterRegistryInjectionTest
// testImplementation 'com.google.dagger:dagger'
// testAnnotationProcessor 'com.google.dagger:dagger-compiler'
// JUnit 5
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'com.tngtech.archunit:archunit-junit5'
// Eclipse still needs this (as of 4.7.1a)
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.mockito:mockito-inline'
testImplementation 'org.hsqldb:hsqldb'
testImplementation 'com.h2database:h2'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.ehcache:ehcache'
testImplementation 'org.apache.kafka:kafka-clients'
testImplementation 'org.apache.commons:commons-pool2:2.+'
testImplementation 'org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-inmemory'
testRuntimeOnly 'org.glassfish.jersey.inject:jersey-hk2'
testImplementation 'ru.lanwen.wiremock:wiremock-junit5'
testImplementation 'com.github.tomakehurst:wiremock-jre8-standalone'
testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
// Log4j2 Async dependency
testImplementation 'com.lmax:disruptor:3.4.+'
// Kafka binder IT dependencies
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:kafka'
// Postgres Binder IT dependencies
testImplementation 'org.testcontainers:postgresql'
testImplementation 'org.postgresql:postgresql'
// Dependencies for @ClassPathExclusions
testCompileOnly("org.junit.platform:junit-platform-engine")
testCompileOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.apache.maven.resolver:maven-resolver-connector-basic:latest.release")
testImplementation("org.apache.maven:maven-resolver-provider:latest.release") {
exclude(group: "javax.inject", module: "javax.inject")
}
testImplementation("org.apache.maven.resolver:maven-resolver-transport-http:latest.release") {
exclude group: "org.slf4j", module: "jcl-over-slf4j"
}
testImplementation("org.apache.maven.resolver:maven-resolver-connector-basic:latest.release")
testImplementation("org.springframework:spring-core:latest.release")
}
task shenandoahTest(type: Test) {
// set heap size for the test JVM(s)
maxHeapSize = "1500m"
useJUnitPlatform {
includeTags 'gc'
}
jvmArgs '-XX:+UseShenandoahGC'
}
task zgcTest(type: Test) {
// set heap size for the test JVM(s)
maxHeapSize = "1500m"
useJUnitPlatform {
includeTags 'gc'
}
jvmArgs '-XX:+UseZGC'
}
task openj9BalancedTest(type: Test) {
// set heap size for the test JVM(s)
maxHeapSize = "1500m"
useJUnitPlatform {
includeTags 'gc'
}
jvmArgs '-Xgcpolicy:balanced'
}
task openj9ConcurrentScavengeTest(type: Test) {
// set heap size for the test JVM(s)
maxHeapSize = "1500m"
useJUnitPlatform {
includeTags 'gc'
}
jvmArgs '-Xgc:concurrentScavenge'
}