title: Httpclient dependency error Android Studio-Gradle
body: <p>I'm facing HttpClient dependency issue with Gradle 1.3.0 and Android Studio 1.3.2.</p>
  
  <p>With the below gradle file, The following packages which are a part of Httpclient library are not being resolved</p>
  
  <pre><code>import org.apache.http.client.HttpClient;
  import org.apache.http.client.methods.HttpPost;
  import org.apache.http.impl.client.DefaultHttpClient;
  </code></pre>
  
  <p>Gradle file</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.0"
  
  defaultConfig {
      applicationId "xxx.xxx.xxxx"
      minSdkVersion 15
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:23.0.1'
      compile ('org.apache.httpcomponents:httpcore:4.+') {
          exclude module: 'httpclient'
      }
     compile 'org.apache.httpcomponents:httpclient:4.2.2'
  }
  </code></pre>
  
  <p>The httpclient-4.2.2.jar has to be moved to the libs directory for the dependencies to be resolved, inspite of explicitly mentioned in gradle file.</p>
  
  <p>Appreciate any help..</p>