[go: nahoru, domu]

blob: 3649580d401b4ca476bb0ad77f1cc7516a918d22 [file] [log] [blame]
Sergey Vasilinetsb1bf8502018-11-30 18:56:14 +00001/*
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
17import static androidx.build.dependencies.DependenciesKt.*
18
19plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010020 id("AndroidXPlugin")
21 id("com.android.library")
Sergey Vasilinetsb1bf8502018-11-30 18:56:14 +000022 id("org.jetbrains.kotlin.android")
23}
24
25android {
26 defaultConfig {
27 testInstrumentationRunnerArgument "listener", "com.squareup.leakcanary.FailTestOnLeakRunListener"
28 }
29}
30
31dependencies {
32 implementation(project(":activity"))
33 androidTestImplementation(LEAKCANARY_INSTRUMENTATION)
34 androidTestImplementation(KOTLIN_STDLIB)
Dustin Lam3979d962019-04-08 10:40:19 -070035 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
36 androidTestImplementation(ANDROIDX_TEST_CORE)
37 androidTestImplementation(ANDROIDX_TEST_RUNNER)
38 androidTestImplementation(ANDROIDX_TEST_RULES)
Sergey Vasilinetsb1bf8502018-11-30 18:56:14 +000039 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}