blob: 78e12baa8bce25370ea082a496b0fd63e0c97cb5 [file] [log] [blame]
Chris Craik9fd8e612017-06-23 14:07:04 -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
Yigit Boyard3829822017-08-25 16:53:25 -070017import android.support.LibraryVersions
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070018import android.support.SupportLibraryExtension;
Chris Craik9fd8e612017-06-23 14:07:04 -070019
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070020apply plugin: android.support.SupportJavaLibraryPlugin
Chris Craik2e9d5132017-08-24 18:10:23 -070021apply plugin: 'kotlin'
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070022
Chris Craik9fd8e612017-06-23 14:07:04 -070023dependencies {
24 compile libs.support.annotations
25 compile project(":arch:common")
26
27 testCompile libs.junit
28 testCompile libs.mockito_core
Chris Craik2e9d5132017-08-24 18:10:23 -070029 compile libs.support.annotations
Chris Craik9fd8e612017-06-23 14:07:04 -070030 compile project(path: ':arch:common')
Chris Craik2e9d5132017-08-24 18:10:23 -070031 compile libs.junit
32 testCompile libs.kotlin.stdlib
Chris Craik9fd8e612017-06-23 14:07:04 -070033}
34
Chris Craik9fd8e612017-06-23 14:07:04 -070035createAndroidCheckstyle(project)
Chris Craik2e9d5132017-08-24 18:10:23 -070036createKotlinCheckstyle(project)
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070037
Yigit Boyard3829822017-08-25 16:53:25 -070038version = LibraryVersions.PAGING.toString()
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070039supportLibrary {
40 name 'Android Paging-Common'
Yigit Boyarad919fe2017-09-11 13:29:36 -070041 publish true
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070042 inceptionYear '2017'
43 description "Android Paging-Common"
44 url SupportLibraryExtension.ARCHITECTURE_URL
45}