Include specific unixsocket lib version into shared jar
MODIFY
dd-trace-ot/dd-trace-ot.gradle
dd-trace-ot/dd-trace-ot.gradle
@@ -45,7 +45,7 @@ dependencies {
compile deps.okhttp
compile group: 'org.msgpack', name: 'msgpack-core', version: '0.8.20'
compile group: 'com.squareup.moshi', name: 'moshi', version: '1.9.2'
- compile group: 'com.github.jnr', name: 'jnr-unixsocket', version: '0.28'
+ compile group: 'com.github.jnr', name: 'jnr-unixsocket', version: "${versions.jnr_unixsocket}"
compile group: 'com.lmax', name: 'disruptor', version: '3.4.2'
// We have autoservices defined in test subtree, looks like we need this to be able to properly rebuild this

MODIFY
gradle/dependencies.gradle
gradle/dependencies.gradle
@@ -18,7 +18,8 @@ ext {
scala : "2.11.12", // Last version to support Java 7 (2.12+ require Java 8+)
kotlin : "1.3.61",
coroutines : "1.3.0",
- dogstatsd : "2.9.0"
+ dogstatsd : "2.9.0",
+ jnr_unixsocket: "0.28"
]
deps = [
@@ -69,6 +70,7 @@ ext {
// Shared between agent tooling and instrumentation and JMXFetch
shared : [
dependencies.create(group: 'com.datadoghq', name: 'java-dogstatsd-client', version: "${versions.dogstatsd}"),
+ dependencies.create(group: 'com.github.jnr', name: 'jnr-unixsocket', version: "${versions.jnr_unixsocket}"),
dependencies.create(group: 'com.google.guava', name: 'guava', version: "${versions.guava}")
],

Include specific unixsocket lib version into shared jar