Advertisement
Guest User

Untitled

a guest
Sep 13th, 2015
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. apply plugin: 'war'
  2. apply plugin: 'java'
  3. apply plugin: 'mongo'
  4.  
  5. configurations {
  6. customcompile.extendsFrom(compile)
  7. customcompile.exclude module :'slf4j-log4j12'
  8. customcompile.transitive = true
  9. }
  10. buildscript {
  11. repositories {
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath 'com.sourcemuse.gradle.plugin:gradle-mongo-plugin:0.8.0'
  16. }
  17. }
  18.  
  19. sourceSets {
  20. main {
  21. java {
  22. srcDir 'src/main/java'
  23. }
  24. }
  25. test {
  26. java {
  27. srcDir 'src/test/java'
  28. }
  29. }
  30. }
  31.  
  32. repositories {
  33. jcenter()
  34. }
  35.  
  36. dependencies {
  37.  
  38. customcompile project(':shared')
  39. compile'io.dropwizard:dropwizard-core:0.8.2'
  40. compile 'org.mongojack:mongojack:2.3.0'
  41. compile 'org.apache.commons:commons-lang3:3.0'
  42. compile 'org.jetbrains:annotations:13.0'
  43. compile 'com.google.inject:guice:3.0'
  44. compile 'com.google.code.gson:gson:1.7.2'
  45. compile 'com.mchange:c3p0:0.9.5'
  46. compile 'org.glassfish.jersey.ext:jersey-entity-filtering:2.6'
  47. compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.19'
  48. testCompile 'junit:junit:4.11'
  49. testCompile 'io.dropwizard:dropwizard-testing:0.8.2'
  50.  
  51. }
  52.  
  53.  
  54. mongo {
  55. logging 'console'
  56.  
  57. }
  58.  
  59.  
  60.  
  61. test{
  62. dependsOn startManagedMongoDb
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement