title: Gradle mongo dependency
body: <p>I am using mongo dependency using gradle</p>
  
  <p>But getting exception:</p>
  
  <pre><code>Could not resolve: org.mongodb:mongodb-driver:3.6.3
  Could not resolve: org.springframework.data:spring-data-mongodb:2.0.6.RELEASE
  Could not resolve: org.mongodb:mongo-java-driver:3.6.3
  </code></pre>
  
  <p>My Gradle file look like below :</p>
  
  <pre><code>repositories {
      mavenCentral()
  }
  
  configurations.all {
     exclude group: "commons-logging", module: "commons-logging"
  }
  
  dependencies {
  
      compile 'org.mongodb:mongodb-driver:3.6.3'
      compile 'org.springframework.data:spring-data-mongodb:2.0.6.RELEASE'
      compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.6.3'
  
      testCompile("org.testng:testng:${testNGVersion}")
      testCompile("junit:junit:${jUnitVersion}")
      testCompile("org.mockito:mockito-core:${mockitoVersion}")
  }
  </code></pre>
  
  <p>Can someone please help me why I am getting above exception.</p>