Home | History | Annotate | Download | only in testapp
      1 /*
      2  * Copyright (C) 2016 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 import static androidx.build.dependencies.DependenciesKt.*
     18 
     19 plugins {
     20     id("SupportAndroidTestAppPlugin")
     21 }
     22 
     23 project.ext.noDocs = true
     24 
     25 android {
     26     buildTypes {
     27         getByName("release") {
     28             minifyEnabled = true
     29             proguardFiles("proguard-rules.pro")
     30         }
     31     }
     32     defaultConfig.vectorDrawables.useSupportLibrary = true
     33 }
     34 
     35 dependencies {
     36     implementation 'com.android.support.constraint:constraint-layout:1.0.2'
     37     implementation project(':work:work-runtime')
     38     implementation project(':work:work-firebase')
     39     implementation "android.arch.lifecycle:extensions:1.1.0"
     40     implementation "android.arch.persistence.room:runtime:1.1.0"
     41     annotationProcessor "android.arch.persistence.room:compiler:1.1.0"
     42     implementation MULTIDEX
     43     implementation "com.android.support:recyclerview-v7:26.1.0"
     44     implementation "com.android.support:appcompat-v7:26.1.0"
     45     implementation "com.android.support:design:26.1.0"
     46 }
     47 
     48 tasks['check'].dependsOn(tasks['connectedCheck'])
     49 
     50 uploadArchives.enabled = false
     51