dropwizard-mongo-client.gradle 852 B

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id "com.github.johnrengelman.shadow" version "2.0.1"
  3. }
  4. apply from: "${rootDir}/gradle/java.gradle"
  5. apply from: "${rootDir}/gradle/jacoco.gradle"
  6. version = 'demo'
  7. description = 'dropwizard-mongo-client'
  8. dependencies {
  9. compile project(':dd-trace-annotations')
  10. compile group: 'io.opentracing', name: 'opentracing-api', version: '0.+'
  11. compile group: 'io.opentracing', name: 'opentracing-util', version: '0.+'
  12. compile group: 'io.dropwizard', name: 'dropwizard-core', version: '0.9.2'
  13. compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.4.2'
  14. compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.7.0'
  15. }
  16. jar {
  17. manifest {
  18. attributes 'Main-Class': 'com.example.helloworld.HelloWorldApplication'
  19. }
  20. }
  21. shadowJar {
  22. mergeServiceFiles()
  23. }
  24. task wrapper(type: Wrapper) {
  25. gradleVersion = '4.0'
  26. }