| Cătălin Tudor | 4e4a7ff | 2019-05-31 17:00:39 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 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 | |
| 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
| 20 | |
| 21 | plugins { |
| 22 | id("AndroidXPlugin") |
| 23 | id("com.android.library") |
| 24 | id("kotlin-android") |
| 25 | } |
| 26 | |
| 27 | dependencies { |
| Cătălin Tudor | 9188ab3 | 2019-05-08 16:01:05 +0100 | [diff] [blame] | 28 | implementation "androidx.annotation:annotation:1.0.0" |
| Siyamed Sinir | 9d2593c | 2020-06-03 10:18:11 -0700 | [diff] [blame^] | 29 | implementation "androidx.core:core:1.5.0-alpha01" |
| Cătălin Tudor | 9188ab3 | 2019-05-08 16:01:05 +0100 | [diff] [blame] | 30 | implementation "androidx.test.screenshot:screenshot-proto:1.0.0-alpha01" |
| 31 | |
| 32 | implementation(KOTLIN_STDLIB) |
| 33 | implementation(JUNIT) |
| 34 | implementation(ANDROIDX_TEST_RULES) |
| Cătălin Tudor | 704a0db | 2019-07-16 16:14:06 +0100 | [diff] [blame] | 35 | implementation(ANDROIDX_TEST_RUNNER) |
| 36 | |
| Cătălin Tudor | 9188ab3 | 2019-05-08 16:01:05 +0100 | [diff] [blame] | 37 | androidTestImplementation(TRUTH) |
| Cătălin Tudor | 4e4a7ff | 2019-05-31 17:00:39 +0100 | [diff] [blame] | 38 | androidTestImplementation(JUNIT) |
| 39 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 40 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| Cătălin Tudor | 4e4a7ff | 2019-05-31 17:00:39 +0100 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | androidx { |
| 44 | name = "AndroidX Library Screenshot Test" |
| Cătălin Tudor | 4e4a7ff | 2019-05-31 17:00:39 +0100 | [diff] [blame] | 45 | mavenGroup = LibraryGroups.TESTSCREENSHOT |
| 46 | } |
| Filip Pavlis | 1428feb | 2020-03-23 16:28:07 +0000 | [diff] [blame] | 47 | |
| 48 | android { |
| 49 | defaultConfig { |
| 50 | testInstrumentationRunnerArgument("thisisignored", "thisisignored --no-isolated-storage") |
| 51 | } |
| 52 | } |