Home | History | Annotate | Download | only in espresso-sample
      1 /*
      2  * Copyright (C) 2014 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *   http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 apply plugin: 'android'
     18 
     19 repositories {
     20     maven { url '../../../../prebuilts/tools/common/m2/repository' }
     21     maven { url '../../../../prebuilts/tools/common/m2/internal' }
     22 }
     23 
     24 android {
     25     compileSdkVersion 19
     26     buildToolsVersion "19.0.3"
     27 
     28     packagingOptions {
     29         exclude 'LICENSE.txt'
     30     }
     31 
     32     lintOptions {
     33         abortOnError false
     34     }
     35 
     36     defaultConfig {
     37         testInstrumentationRunner "com.google.android.apps.common.testing.testrunner.GoogleInstrumentationTestRunner"
     38     }
     39 }
     40 
     41 dependencies {
     42     compile files('../libs/guava-14.0.1.jar')
     43     compile 'com.android.support:support-v4:19.1.+'
     44     compile 'com.android.support:appcompat-v7:19.1.+'
     45     compile project(':idling-resource-interface')
     46     androidTestCompile project(':espresso-contrib')
     47 }
     48 
     49 apply from: "$rootDir/javadoc.gradle"
     50