title: how to exclude dependencies from spring boot
body: <p>I am using spring boot and following is my gradle file</p>
  
  <pre><code>    buildscript {
      ext {
          springBootVersion = '2.0.0.BUILD-SNAPSHOT'
      }
      repositories {
          mavenCentral()
          maven { url "https://repo.spring.io/snapshot" }
          maven { url "https://repo.spring.io/milestone" }
      }
      dependencies {
          classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
      }
  }
  
  apply plugin: 'java'
  apply plugin: 'eclipse-wtp'
  apply plugin: 'org.springframework.boot'
  apply plugin: 'io.spring.dependency-management'
  apply plugin: 'war'
  
  version = '0.0.1-SNAPSHOT'
  sourceCompatibility = 1.8
  
  repositories {
      mavenCentral()
      maven { url "https://repo.spring.io/snapshot" }
      maven { url "https://repo.spring.io/milestone" }
  }
  
  configurations {
      providedRuntime
  }
  
  dependencies {
      compile('org.springframework.boot:spring-boot-starter-data-jpa:1.2.1.RELEASE')
      compile('org.springframework.boot:spring-boot-starter-web')
      compile("com.h2database:h2")
      providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
      testCompile('org.springframework.boot:spring-boot-starter-test')
  }
  </code></pre>
  
  <p>while m adding in gradle file the following dependecy</p>
  
  <pre><code>org.springframework.boot:spring-boot-starter-data-jpa:1.2.1.RELEASE
  </code></pre>
  
  <p>its including bunch of other dependencies like hibernate n all that i don't need it for now(just wanted to use spring data jpa) which cause many other problem 
  so how can i use only spring-data-jpa and its related dependency only ?</p>
  
  <p>tried to disable like exclude = { HibernateJpaAutoConfiguration.class} but does't go well</p>
  
  <p>Thnks in advance</p>