blob: cafb452db24114d2484a58ba1f18ead83b7c493c [file] [log] [blame]
Steve McKayc01ec962017-05-23 14:32:58 -07001/*
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 Liutikas17de2022018-04-27 16:07:52 -070017import static androidx.build.dependencies.DependenciesKt.*
Aurimas Liutikas526389b2018-02-27 14:01:24 -080018import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070020import androidx.build.Publish
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070021
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070022plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010023 id("AndroidXPlugin")
24 id("com.android.library")
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070025}
Steve McKayc01ec962017-05-23 14:32:58 -070026
27dependencies {
Nick Anthonyac4cf062019-06-04 10:59:29 -040028 api("androidx.annotation:annotation:1.1.0")
Nick Anthonyece690f2019-07-31 17:50:14 +000029 api("androidx.core:core:1.1.0-rc01")
Nick Anthony692b3e952019-06-04 11:25:56 -040030 implementation("androidx.collection:collection:1.1.0")
Steve McKayc01ec962017-05-23 14:32:58 -070031
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080032 androidTestImplementation(JUNIT)
Dustin Lam3979d962019-04-08 10:40:19 -070033 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
34 androidTestImplementation(ANDROIDX_TEST_CORE)
35 androidTestImplementation(ANDROIDX_TEST_RUNNER)
36 androidTestImplementation(ANDROIDX_TEST_RULES)
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -070037 androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
Aurimas Liutikas9edca682017-07-25 09:12:35 -070038}
39
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070040androidx {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080041 name = "Android Support Content"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070042 publish = Publish.SNAPSHOT_AND_RELEASE
Nick Anthony95516532018-10-31 13:59:57 -040043 mavenVersion = LibraryVersions.CONTENTPAGER
Filip Pavlis48058842018-05-03 17:49:59 +010044 mavenGroup = LibraryGroups.CONTENTPAGER
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080045 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 Liutikas3ac069f2018-04-04 13:25:38 -070047 failOnDeprecationWarnings = false
Steve McKayc01ec962017-05-23 14:32:58 -070048}