title: How to update dependencies in Gradle
body: <p>Can any body can tell me how can I do something like <code>maven install -U</code> (update dependencies) in gradle. </p>
  
  <p>I have problem I have added new dependency to my build.gradle file </p>
  
  <pre><code>dependencies {
      compile('org.springframework.boot:spring-boot-starter-data-jpa')
      compile('org.springframework.boot:spring-boot-starter-thymeleaf')
      compile('org.springframework.boot:spring-boot-starter-web')
      compile("org.springframework.boot:spring-boot-starter-security")
      runtime('com.h2database:h2')
      testCompile('org.springframework.boot:spring-boot-starter-test') 
  }
  </code></pre>
  
  <p>New dependency is:</p>
  
  <pre><code>compile("org.springframework.boot:spring-boot-starter-security")
  </code></pre>
  
  <p>And during build or project synchronize my IntelliJ (version 14) is not even trying download this new dependency (I'm using gradle version 2.5)</p>
  
  <p>In maven project IntelliJ had something like download maven dependencies. 
  But for Gradle I don't see anything like this. This is like my project looks like</p>
  
  <p>And can any body tell me why I don't see any *.jar on project list like maven does?</p>
  
  <p><img src="https://i.stack.imgur.com/H8sSi.jpg" alt="enter image description here"></p>