Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 1 | /* |
| 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 | */ |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 16 | |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 17 | import android.support.LibraryVersions; |
| 18 | import android.support.SupportLibraryExtension; |
Yigit Boyar | b18b96e | 2016-10-25 13:54:51 -0700 | [diff] [blame] | 19 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame^] | 20 | plugins { |
| 21 | id("SupportJavaLibraryPlugin") |
| 22 | } |
Yigit Boyar | b18b96e | 2016-10-25 13:54:51 -0700 | [diff] [blame] | 23 | |
| 24 | dependencies { |
Yigit Boyar | 450ed38 | 2017-03-02 09:48:25 -0800 | [diff] [blame] | 25 | testCompile libs.junit |
| 26 | testCompile libs.mockito_core |
| 27 | compile libs.support.annotations |
Yigit Boyar | b18b96e | 2016-10-25 13:54:51 -0700 | [diff] [blame] | 28 | } |
Sergey Vasilinets | 0265f0f | 2016-10-28 09:40:11 -0700 | [diff] [blame] | 29 | |
Yigit Boyar | 450ed38 | 2017-03-02 09:48:25 -0800 | [diff] [blame] | 30 | createAndroidCheckstyle(project) |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 31 | |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 32 | version = LibraryVersions.LIFECYCLES_CORE.toString() |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 33 | supportLibrary { |
| 34 | name 'Android Lifecycle-Common' |
| 35 | publish true |
| 36 | inceptionYear '2017' |
| 37 | description "Android Lifecycle-Common" |
| 38 | url SupportLibraryExtension.ARCHITECTURE_URL |
| 39 | } |