title: Intelliji-idea cannot find jar on web
body: <p>I try to add some import for groovy file.</p>
  
  <pre><code>import groovyx.net.http.RESTClient
  import org.apache.http.auth.AuthScope
  import org.apache.http.auth.NTCredentials
  </code></pre>
  
  <p>Try to use option "Find jar on web". As a result I see message "No libraries found for groovyx.net.http.RESTClient".
  Same problem was for java projects with adding junit and jsoup libraries, but I just downloaded them.</p>
  
  <p>Where can be a problem?</p>
  
  <pre><code>https://repo1.maven.org/maven2
  https://repository.jboss.org/nexus/content/repositories/public/
  </code></pre>
  
  <p>are used as remote jar repositories</p>
  
  <p>build.gradle file content:</p>
  
  <pre><code>apply plugin: "groovy"
  
  group = "ru.ftc.cs.test"
  version = "1.0.0"
  
  sourceCompatibility = 1.8
  targetCompatibility = 1.8
  
  repositories {
      mavenLocal()
      mavenCentral()
      maven { url "http://diesel.ftc.ru:8080/nexus/content/groups/public/" }
  }
  
  dependencies {
  
      testCompile group: "org.codehaus.groovy"                      , name: "groovy-all"  , version: "2.4.5"
      testCompile group: "org.codehaus.groovy.modules.http-builder" , name: "http-builder", version: "0.7.1"
      testCompile group: "org.spockframework"                       , name: "spock-core"  , version: "1.0-groovy-2.4"
  }
  </code></pre>
  
  <p><strong>Decision:</strong>
  I need only to run build.gradle correct way to solve a problem. </p>