Steve McKay | c01ec96 | 2017-05-23 14:32:58 -0700 | [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 | 17de202 | 2018-04-27 16:07:52 -0700 | [diff] [blame] | 17 | import static androidx.build.dependencies.DependenciesKt.* |
Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 20 | import androidx.build.Publish |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 21 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 22 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 23 | id("AndroidXPlugin") |
| 24 | id("com.android.library") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 25 | } |
Steve McKay | c01ec96 | 2017-05-23 14:32:58 -0700 | [diff] [blame] | 26 | |
| 27 | dependencies { |
Nick Anthony | ac4cf06 | 2019-06-04 10:59:29 -0400 | [diff] [blame] | 28 | api("androidx.annotation:annotation:1.1.0") |
Nick Anthony | ece690f | 2019-07-31 17:50:14 +0000 | [diff] [blame] | 29 | api("androidx.core:core:1.1.0-rc01") |
Nick Anthony | 692b3e95 | 2019-06-04 11:25:56 -0400 | [diff] [blame] | 30 | implementation("androidx.collection:collection:1.1.0") |
Steve McKay | c01ec96 | 2017-05-23 14:32:58 -0700 | [diff] [blame] | 31 | |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 32 | androidTestImplementation(JUNIT) |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 33 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 34 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 35 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 36 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 37 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 38 | } |
| 39 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 40 | androidx { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 41 | name = "Android Support Content" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 42 | publish = Publish.SNAPSHOT_AND_RELEASE |
Nick Anthony | 9551653 | 2018-10-31 13:59:57 -0400 | [diff] [blame] | 43 | mavenVersion = LibraryVersions.CONTENTPAGER |
Filip Pavlis | 4805884 | 2018-05-03 17:49:59 +0100 | [diff] [blame] | 44 | mavenGroup = LibraryGroups.CONTENTPAGER |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 45 | inceptionYear = "2017" |
| 46 | description = "Library providing support for paging across content exposed via a ContentProvider. Use of this library allows a client to avoid expensive interprocess \"cursor window swaps\" on the UI thread." |
Aurimas Liutikas | 3ac069f | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 47 | failOnDeprecationWarnings = false |
Steve McKay | c01ec96 | 2017-05-23 14:32:58 -0700 | [diff] [blame] | 48 | } |