title: How to include external jar file on java gradle project without it getting deleted after every build?
body: <p>I have a Java project with <strong>Gradle</strong>. I need to add an external jar file to it. I go about adding the jar file by right clicking on my project </p>
  
  <pre><code>-&gt; properties -&gt; Java Build Path -&gt; Add External JARs...
  </code></pre>
  
  <p>This works and a folder called <code>References Libraries</code> gets created with the Jar file inside. </p>
  
  <blockquote>
    <p>The problem is that every time that I recompile and Build my project
    using gradle the Jar file gets deleted and the References Libraries
    folder disappears from my project.</p>
  </blockquote>
  
  <p>How do I get the jar file to stay with my project even after building it? Other developers will also be downloading this project from Github and I don't want them to have to always be downloading the JAR file.</p>