| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [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 | */ |
| Sean McQuillan | 30acb14 | 2021-03-25 14:19:33 -0700 | [diff] [blame] | 16 | |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 17 | import androidx.build.LibraryGroups |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 18 | import androidx.build.Publish |
| 19 | |
| Sean McQuillan | 30acb14 | 2021-03-25 14:19:33 -0700 | [diff] [blame] | 20 | import static androidx.build.dependencies.DependenciesKt.* |
| 21 | |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 22 | plugins { |
| 23 | id("AndroidXPlugin") |
| 24 | id("com.android.library") |
| 25 | id("kotlin-android") |
| 26 | id("androidx.benchmark") |
| 27 | } |
| 28 | |
| 29 | dependencies { |
| Sean McQuillan | bb46d2b | 2021-03-31 18:11:44 -0700 | [diff] [blame] | 30 | androidTestImplementation(project(":emoji2:emoji2")) |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 31 | androidTestImplementation(projectOrArtifact(":benchmark:benchmark-junit4")) |
| 32 | androidTestImplementation(JUNIT) |
| 33 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 34 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 35 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 36 | androidTestImplementation(ANDROIDX_TEST_RULES) |
| Sean McQuillan | 0d88e03 | 2021-04-01 11:44:37 -0700 | [diff] [blame^] | 37 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 38 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 39 | androidTestImplementation project(':internal-testutils-runtime') |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 40 | androidTestImplementation(KOTLIN_STDLIB) |
| 41 | } |
| 42 | |
| 43 | androidx { |
| 44 | name = "Emoji2 Benchmarks" |
| 45 | publish = Publish.NONE |
| 46 | mavenGroup = LibraryGroups.NAVIGATION |
| 47 | inceptionYear = "2018" |
| 48 | description = "Navigation Benchmarks" |
| 49 | } |