Adam Powell | b15ee75 | 2017-01-20 16:47:59 -0800 | [diff] [blame] | 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 | */ |
Sergey Vasilinets | eb9d04ce | 2017-09-18 15:59:33 -0700 | [diff] [blame] | 16 | |
Sergey Vasilinets | 98971a7 | 2018-04-18 10:33:33 -0700 | [diff] [blame] | 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
| 20 | import androidx.build.SupportLibraryExtension |
Sergey Vasilinets | eb9d04ce | 2017-09-18 15:59:33 -0700 | [diff] [blame] | 21 | |
Aurimas Liutikas | 3ba8693 | 2017-11-07 03:46:07 +0000 | [diff] [blame] | 22 | plugins { |
| 23 | id("SupportAndroidLibraryPlugin") |
Ian Lake | fc54de3 | 2018-08-22 15:47:17 -0700 | [diff] [blame] | 24 | id("kotlin-android") |
Aurimas Liutikas | 3ba8693 | 2017-11-07 03:46:07 +0000 | [diff] [blame] | 25 | } |
Adam Powell | b15ee75 | 2017-01-20 16:47:59 -0800 | [diff] [blame] | 26 | |
Jake Wharton | a74eeec | 2018-08-04 03:06:13 -0400 | [diff] [blame] | 27 | android { |
| 28 | lintOptions { |
| 29 | fatal("UnknownNullness") |
| 30 | } |
| 31 | } |
| 32 | |
Adam Powell | b15ee75 | 2017-01-20 16:47:59 -0800 | [diff] [blame] | 33 | dependencies { |
Sergey Vasilinets | 98971a7 | 2018-04-18 10:33:33 -0700 | [diff] [blame] | 34 | api(NAV_SUPPORT_CORE_UTILS) |
Ian Lake | c4ae7e6 | 2018-04-12 14:36:09 -0700 | [diff] [blame] | 35 | api(project(":navigation:navigation-common")) |
Adam Powell | b15ee75 | 2017-01-20 16:47:59 -0800 | [diff] [blame] | 36 | |
Aurimas Liutikas | 175b74c | 2017-11-28 15:58:40 -0800 | [diff] [blame] | 37 | testImplementation(JUNIT) |
| 38 | testImplementation(MOCKITO_CORE) |
Alan Viverette | badf2f8 | 2018-12-18 12:14:10 -0500 | [diff] [blame^] | 39 | testImplementation(TEST_EXT_JUNIT) |
| 40 | testImplementation(TEST_CORE) |
Aurimas Liutikas | 544a1d7 | 2018-01-31 15:30:19 -0800 | [diff] [blame] | 41 | testImplementation(TEST_RUNNER) |
Ian Lake | 1ed814b5 | 2017-05-24 16:04:44 -0700 | [diff] [blame] | 42 | |
Ian Lake | 7a55d72 | 2018-10-12 10:07:44 -0700 | [diff] [blame] | 43 | androidTestImplementation(project(":navigation:navigation-testing")) |
Alan Viverette | badf2f8 | 2018-12-18 12:14:10 -0500 | [diff] [blame^] | 44 | androidTestImplementation(TEST_EXT_JUNIT) |
| 45 | androidTestImplementation(TEST_CORE) |
Aurimas Liutikas | 544a1d7 | 2018-01-31 15:30:19 -0800 | [diff] [blame] | 46 | androidTestImplementation(TEST_RUNNER) |
Ian Lake | fc54de3 | 2018-08-22 15:47:17 -0700 | [diff] [blame] | 47 | androidTestImplementation(TEST_RULES) |
Aurimas Liutikas | 544a1d7 | 2018-01-31 15:30:19 -0800 | [diff] [blame] | 48 | androidTestImplementation(ESPRESSO_CORE) |
Ian Lake | 3dce08c | 2018-11-20 14:50:11 -0800 | [diff] [blame] | 49 | androidTestImplementation(TRUTH) |
Ian Lake | fc54de3 | 2018-08-22 15:47:17 -0700 | [diff] [blame] | 50 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) |
| 51 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) |
| 52 | androidTestImplementation(KOTLIN_STDLIB) |
Adam Powell | b15ee75 | 2017-01-20 16:47:59 -0800 | [diff] [blame] | 53 | } |
| 54 | |
Sergey Vasilinets | eb9d04ce | 2017-09-18 15:59:33 -0700 | [diff] [blame] | 55 | supportLibrary { |
Aurimas Liutikas | 3670911 | 2017-11-08 23:28:50 +0000 | [diff] [blame] | 56 | name = "Android Navigation Runtime" |
Ian Lake | 7a092bb | 2018-04-30 21:58:10 -0700 | [diff] [blame] | 57 | publish = true |
Aurimas Liutikas | c0ba6c7 | 2017-11-09 16:49:08 -0800 | [diff] [blame] | 58 | mavenVersion = LibraryVersions.NAVIGATION |
Aurimas Liutikas | 3670911 | 2017-11-08 23:28:50 +0000 | [diff] [blame] | 59 | mavenGroup = LibraryGroups.NAVIGATION |
| 60 | inceptionYear = "2017" |
| 61 | description = "Android Navigation-Runtime" |
| 62 | url = SupportLibraryExtension.ARCHITECTURE_URL |
Sergey Vasilinets | 98971a7 | 2018-04-18 10:33:33 -0700 | [diff] [blame] | 63 | } |