Sergey Vasilinets | b1bf850 | 2018-11-30 18:56:14 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 20 | id("AndroidXPlugin") |
| 21 | id("com.android.library") |
Sergey Vasilinets | b1bf850 | 2018-11-30 18:56:14 +0000 | [diff] [blame] | 22 | id("org.jetbrains.kotlin.android") |
| 23 | } |
| 24 | |
| 25 | android { |
| 26 | defaultConfig { |
| 27 | testInstrumentationRunnerArgument "listener", "com.squareup.leakcanary.FailTestOnLeakRunListener" |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | dependencies { |
| 32 | implementation(project(":activity")) |
| 33 | androidTestImplementation(LEAKCANARY_INSTRUMENTATION) |
| 34 | androidTestImplementation(KOTLIN_STDLIB) |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 35 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 36 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 37 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 38 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Sergey Vasilinets | b1bf850 | 2018-11-30 18:56:14 +0000 | [diff] [blame] | 39 | androidTestImplementation(ESPRESSO_CORE) |
| 40 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker |
| 41 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker |
| 42 | |
| 43 | } |