Skip to content

Instantly share code, notes, and snippets.

@lukaspili
Created June 1, 2011 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaspili/1002223 to your computer and use it in GitHub Desktop.
Save lukaspili/1002223 to your computer and use it in GitHub Desktop.
gradle build with mangodb dependencies
apply plugin: 'java'
apply plugin: 'idea'
version = '0.1-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.mongodb', name: 'mongo-java-driver', version: '2.6.1'
}
ideaModule {
beforeConfigured { module ->
module.dependencies.clear()
}
}
ideaProject {
beforeConfigured { project ->
project.modulePaths.clear()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment