opentelemetry-java-instrume.../dd-trace-examples/dropwizard-mongo-client/dropwizard-mongo-client.gradle

31 lines
819 B
Groovy

plugins {
id "com.github.johnrengelman.shadow" version "2.0.1"
}
apply from: "${rootDir}/gradle/java.gradle"
apply from: "${rootDir}/gradle/jacoco.gradle"
version = 'demo'
description = 'dropwizard-mongo-client'
dependencies {
compile project(':dd-trace-annotations')
compile group: 'io.opentracing', name: 'opentracing-api', version: '0.+'
compile group: 'io.opentracing', name: 'opentracing-util', version: '0.+'
compile group: 'io.dropwizard', name: 'dropwizard-core', version: '0.9.2'
compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.4.2'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.7.0'
}
jar {
manifest {
attributes 'Main-Class': 'com.example.helloworld.HelloWorldApplication'
}
}
shadowJar {
mergeServiceFiles()
}