title: How to run pre build gradle java project in intellij
body: <p>I have been using eclipse. Recently, I started using intellij IDE.</p>
  
  <p>My project is core java project with gradle as build tool. In eclipse, i used to build the project through command like and import it into the project. Then i used to run it without any issues.</p>
  
  <p>One of the below command i used to use frequently.</p>
  
  <pre><code>gradle -s --refresh dependencies clean build eclipse  -x findbugsMain -x checkstyleMain
  gradle -s --refresh dependencies clean build -x findbugsMain -x checkstyleMain 
  gradle build -x findbugsMain -x checkstyleMain
  </code></pre>
  
  <p>Now when i try imported my projects as module in intellij and try to run, it tries to build everything again and fails with error.</p>
  
  <p>I do not want intellij to build the project again but to use the already build one which i did through command line.</p>