Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 1 | /* |
| 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 Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 17 | import static androidx.build.dependencies.DependenciesKt.* |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 18 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 19 | plugins { |
| 20 | id("SupportAndroidLibraryPlugin") |
shepshapard | ceeb304 | 2018-07-30 11:19:41 -0700 | [diff] [blame] | 21 | id("kotlin-android") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 22 | } |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 23 | |
| 24 | dependencies { |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 25 | api(project(":fragment")) |
| 26 | api(project(":appcompat")) |
Kirill Grouchnikov | 3743a7e | 2017-09-26 17:55:05 -0400 | [diff] [blame] | 27 | |
Alan Viverette | badf2f8 | 2018-12-18 12:14:10 -0500 | [diff] [blame] | 28 | implementation(TEST_EXT_JUNIT) |
| 29 | implementation(TEST_CORE) |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 30 | implementation(TEST_RULES) |
| 31 | implementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 32 | 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) |
shepshapard | ceeb304 | 2018-07-30 11:19:41 -0700 | [diff] [blame] | 35 | implementation(KOTLIN_STDLIB) |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 36 | } |
| 37 | |
Aurimas Liutikas | 63f6016 | 2017-09-19 06:30:32 -0700 | [diff] [blame] | 38 | android { |
Aurimas Liutikas | 63f6016 | 2017-09-19 06:30:32 -0700 | [diff] [blame] | 39 | lintOptions { |
| 40 | disable 'InvalidPackage' // Lint is unhappy about junit package |
| 41 | } |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 42 | } |
Aurimas Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 43 | |
| 44 | supportLibrary { |
| 45 | failOnUncheckedWarnings = false |
Jeff Gaston | 5ba2d41 | 2018-10-08 15:51:29 -0400 | [diff] [blame] | 46 | toolingProject = true |
| 47 | } |