Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'war'
- apply plugin: 'java'
- apply plugin: 'mongo'
- configurations {
- customcompile.extendsFrom(compile)
- customcompile.exclude module :'slf4j-log4j12'
- customcompile.transitive = true
- }
- buildscript {
- repositories {
- jcenter()
- }
- dependencies {
- classpath 'com.sourcemuse.gradle.plugin:gradle-mongo-plugin:0.8.0'
- }
- }
- sourceSets {
- main {
- java {
- srcDir 'src/main/java'
- }
- }
- test {
- java {
- srcDir 'src/test/java'
- }
- }
- }
- repositories {
- jcenter()
- }
- dependencies {
- customcompile project(':shared')
- compile'io.dropwizard:dropwizard-core:0.8.2'
- compile 'org.mongojack:mongojack:2.3.0'
- compile 'org.apache.commons:commons-lang3:3.0'
- compile 'org.jetbrains:annotations:13.0'
- compile 'com.google.inject:guice:3.0'
- compile 'com.google.code.gson:gson:1.7.2'
- compile 'com.mchange:c3p0:0.9.5'
- compile 'org.glassfish.jersey.ext:jersey-entity-filtering:2.6'
- compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.19'
- testCompile 'junit:junit:4.11'
- testCompile 'io.dropwizard:dropwizard-testing:0.8.2'
- }
- mongo {
- logging 'console'
- }
- test{
- dependsOn startManagedMongoDb
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement