title: Exclude lib from jar in gradle file
body: <p>I try launch android project and get error </p>
  
  <pre><code>Error Code:  2
  Output: UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
  </code></pre>
  
  <p>My gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'    
  android {
     compileSdkVersion 21
     buildToolsVersion "21.1.0"
  
     defaultConfig {
        applicationId "nit.livetex.livetexsdktestapp"
        minSdkVersion 10
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
     }
     buildTypes {
        release {
           minifyEnabled false
           proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
     }
     compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
     }   
  }    
  dependencies {
     compile files("libs/sdk.jar")
     compile 'com.android.support:appcompat-v7:21.0.0'
  }    
  </code></pre>
  
  <p>I think It occurs because of using support-library in sdk.jar.
  Where I should add exclude rule?</p>