blob: 6fbcffeaa43ea384cfffebb3451f843cef5a100b [file] [log] [blame]
Chris Craik368e82c2018-02-12 16:40:12 -08001/*
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
17import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
Aurimas Liutikasb63ef632019-04-01 04:37:49 -070020import androidx.build.AndroidXExtension
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070021import androidx.build.Publish
Chris Craik368e82c2018-02-12 16:40:12 -080022
23plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010024 id("AndroidXPlugin")
25 id("com.android.library")
Chris Craik368e82c2018-02-12 16:40:12 -080026 id("kotlin-android")
27}
28
Jake Whartond7176562018-08-04 02:06:27 -040029android {
30 lintOptions {
31 fatal("UnknownNullness")
32 }
33}
34
Chris Craik368e82c2018-02-12 16:40:12 -080035dependencies {
Chris Craik368e82c2018-02-12 16:40:12 -080036 api(project(":paging:paging-common"))
Oussama Ben Abdelbaki237c8942019-02-11 15:57:21 -050037 api(project(":arch:core-runtime"))
Chris Craik368e82c2018-02-12 16:40:12 -080038 api(RX_JAVA)
Dustin Lamc88868c2019-05-31 22:37:48 -070039 implementation(KOTLIN_STDLIB)
Dustin Lam0699f452019-03-21 07:46:09 -070040
Dustin Lamc88868c2019-05-31 22:37:48 -070041 testImplementation project(':internal-testutils-common')
Dustin Lam0699f452019-03-21 07:46:09 -070042 testImplementation(JUNIT)
Dustin Lam0699f452019-03-21 07:46:09 -070043 testImplementation(KOTLIN_TEST_COMMON)
Dustin Lam83f45102019-06-03 13:02:45 -070044
45 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
46 androidTestImplementation(ANDROIDX_TEST_CORE)
47 androidTestImplementation(ANDROIDX_TEST_RUNNER)
48 androidTestImplementation(ARCH_CORE_TESTING)
Chris Craik368e82c2018-02-12 16:40:12 -080049}
50
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070051androidx {
Chris Craik368e82c2018-02-12 16:40:12 -080052 name = "Android Paging RXJava2"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070053 publish = Publish.SNAPSHOT_AND_RELEASE
Chris Craik687d0f22018-05-16 11:04:32 -070054 mavenVersion = LibraryVersions.PAGING
Chris Craik368e82c2018-02-12 16:40:12 -080055 mavenGroup = LibraryGroups.PAGING
56 inceptionYear = "2018"
57 description = "Android Paging RXJava2"
Aurimas Liutikasb63ef632019-04-01 04:37:49 -070058 url = AndroidXExtension.ARCHITECTURE_URL
Chris Craik368e82c2018-02-12 16:40:12 -080059}