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