blob: 4924dcaba6d0675a91b5a725b857af7e77679d2b [file] [log] [blame]
Aurimas Liutikas6d20a522017-03-10 17:13:03 -08001/*
2 * Copyright (C) 2017 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
Aurimas Liutikas526389b2018-02-27 14:01:24 -080017import static androidx.build.dependencies.DependenciesKt.*
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080018
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070019plugins {
20 id("SupportAndroidLibraryPlugin")
shepshapardceeb3042018-07-30 11:19:41 -070021 id("kotlin-android")
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070022}
Aurimas Liutikas6d20a522017-03-10 17:13:03 -080023
24dependencies {
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080025 api(project(":fragment"))
26 api(project(":appcompat"))
Kirill Grouchnikov3743a7e2017-09-26 17:55:05 -040027
Alan Viverettebadf2f82018-12-18 12:14:10 -050028 implementation(TEST_EXT_JUNIT)
29 implementation(TEST_CORE)
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -070030 implementation(TEST_RULES)
31 implementation(ESPRESSO_CORE, libs.exclude_for_espresso)
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080032 implementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
33 implementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
34 implementation(JUNIT)
shepshapardceeb3042018-07-30 11:19:41 -070035 implementation(KOTLIN_STDLIB)
Aurimas Liutikas6d20a522017-03-10 17:13:03 -080036}
37
Aurimas Liutikas63f60162017-09-19 06:30:32 -070038android {
Aurimas Liutikas63f60162017-09-19 06:30:32 -070039 lintOptions {
40 disable 'InvalidPackage' // Lint is unhappy about junit package
41 }
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070042}
Aurimas Liutikasbfef0932018-04-04 13:25:38 -070043
44supportLibrary {
45 failOnUncheckedWarnings = false
Jeff Gaston5ba2d412018-10-08 15:51:29 -040046 toolingProject = true
47}