Alan Viverette | a75e3d6 | 2021-06-23 17:38:25 -0400 | [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 | */ |
| 16 | |
Alan Viverette | a75e3d6 | 2021-06-23 17:38:25 -0400 | [diff] [blame] | 17 | import androidx.build.Publish |
| 18 | |
| 19 | plugins { |
| 20 | id("AndroidXPlugin") |
| 21 | id("com.android.library") |
| 22 | id("androidx.benchmark") |
| 23 | } |
| 24 | |
| 25 | dependencies { |
| 26 | androidTestImplementation("androidx.core:core:1.3.0-beta01") |
| 27 | androidTestImplementation(project(":slice:slice-view")) |
| 28 | androidTestImplementation(project(":slice:slice-core")) |
| 29 | androidTestImplementation(project(":slice:slice-builders")) |
| 30 | androidTestImplementation(project(":benchmark:benchmark-junit4")) |
| 31 | androidTestImplementation(libs.junit) |
| 32 | androidTestImplementation(libs.testExtJunit) |
| 33 | androidTestImplementation(libs.testCore) |
| 34 | androidTestImplementation(libs.testRunner) |
| 35 | androidTestImplementation(libs.testRules) |
| 36 | androidTestImplementation(libs.espressoCore, excludes.espresso) |
| 37 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) |
| 38 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) |
| 39 | } |
| 40 | |
| 41 | androidx { |
| 42 | name = "Slices Benchmarks" |
| 43 | publish = Publish.NONE |
| 44 | mavenVersion = LibraryVersions.SLICE_BENCHMARK |
| 45 | mavenGroup = LibraryGroups.SLICE |
| 46 | inceptionYear = "2018" |
| 47 | description = "RecyclerView Benchmarks" |
| 48 | } |