title: Gradle dependencies: compile using local jar vs compile from maven repository?
body: <p>Let's say I have 2 projects: <code>utils-project</code>, <code>main-project</code>.
  It works fine when I use in <code>main-project</code> <code>build.gradle</code> dependency from my maven repository:</p>
  
  <pre><code>dependencies {
      compile 'my.group:utils-project:some-version'
  }
  </code></pre>
  
  <p>When I download jar from maven and add jar file to <code>build.gradle</code> it fails due to missing <code>utils-project</code> transitive dependencies:</p>
  
  <pre><code>dependencies {
      compile files('/path/to/jar/file/utils-project.some-version.jar')
  }
  </code></pre>
  
  <p>How is it different and how can I achieve the same effect when compiling my main-project using local jar?</p>