title: Is there a way to install jar local gradle repository, as it in mave (maven install:install-file
body: <p>I used to work only with maven, and when project requires some jar which is not available in any repository, I was able to install it with</p>
  
  <pre><code>mvn install:install-file -Dfile=&lt;path-to-file&gt; -DgroupId=&lt;group-id&gt; \
      -DartifactId=&lt;artifact-id&gt; -Dversion=&lt;version&gt; -Dpackaging=&lt;packaging&gt;
  </code></pre>
  
  <p>It was quite easy.</p>
  
  <p>Now I struggle with gradle, my project depends on a jar which no longer exists in any repository. I have the jar file on my disk. Changing the jar version in project dependencies does not apply to my problem.</p>
  
  <p>Is there any way to install jar file into the gradle cache from command line without changing any project dependencies?</p>