Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 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 | |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 17 | import androidx.build.LibraryGroups |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 18 | import androidx.build.Publish |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 19 | |
| 20 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 21 | id("AndroidXPlugin") |
| 22 | id("com.android.library") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 23 | id("org.jetbrains.kotlin.android") |
| 24 | } |
| 25 | |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 26 | dependencies { |
| 27 | api(project(":paging:paging-runtime")) |
| 28 | // Ensure that the -ktx dependency graph mirrors the Java dependency graph |
Dustin Lam | 8f042df | 2019-05-31 17:58:10 -0700 | [diff] [blame] | 29 | implementation(project(":paging:paging-common-ktx")) |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 30 | } |
| 31 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 32 | androidx { |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 33 | name = "Android Paging-Runtime Kotlin Extensions" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 34 | publish = Publish.SNAPSHOT_AND_RELEASE |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 35 | mavenGroup = LibraryGroups.PAGING |
| 36 | inceptionYear = "2018" |
| 37 | description = "Kotlin extensions for 'paging-runtime' artifact" |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 38 | } |