blob: bb9ad6b726c2e5a69337b87c5750629ea684f2fb [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 testCompile libs.kotlin.stdlib
Chris Craik9fd8e612017-06-23 14:07:04 -070032}
33
Chris Craik9fd8e612017-06-23 14:07:04 -070034createAndroidCheckstyle(project)
Chris Craik2e9d5132017-08-24 18:10:23 -070035createKotlinCheckstyle(project)
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070036
Yigit Boyard3829822017-08-25 16:53:25 -070037version = LibraryVersions.PAGING.toString()
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070038supportLibrary {
39 name 'Android Paging-Common'
Yigit Boyarad919fe2017-09-11 13:29:36 -070040 publish true
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -070041 inceptionYear '2017'
42 description "Android Paging-Common"
43 url SupportLibraryExtension.ARCHITECTURE_URL
44}