Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame^] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
| 4 | import androidx.build.SupportLibraryExtension |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 5 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 6 | plugins { |
| 7 | id("SupportAndroidLibraryPlugin") |
| 8 | } |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 9 | |
| 10 | android { |
Sergey Vasilinets | 1a06787 | 2017-06-21 16:27:47 -0700 | [diff] [blame] | 11 | buildTypes.all { |
| 12 | consumerProguardFiles 'proguard-rules.pro' |
| 13 | } |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | dependencies { |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 17 | api(project(":lifecycle:common")) |
| 18 | api(project(":arch:common")) |
Sergey Vasilinets | e69e470 | 2017-02-10 02:26:10 -0800 | [diff] [blame] | 19 | // necessary for IJ to resolve dependencies. |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 20 | api(SUPPORT_ANNOTATIONS) |
Yigit Boyar | 21886b6 | 2016-12-12 16:59:30 -0800 | [diff] [blame] | 21 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 22 | testImplementation(JUNIT) |
| 23 | testImplementation(MOCKITO_CORE) |
Yigit Boyar | 54850ab | 2017-10-09 11:31:24 -0700 | [diff] [blame] | 24 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 25 | androidTestImplementation(JUNIT) |
Jake Wharton | 843419a | 2017-12-06 11:16:56 -0500 | [diff] [blame] | 26 | androidTestImplementation(TEST_RUNNER) |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 27 | } |
Yigit Boyar | 19b4110 | 2016-11-20 10:46:32 -0800 | [diff] [blame] | 28 | |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 29 | supportLibrary { |
| 30 | name 'Android Lifecycle Runtime' |
| 31 | publish true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 32 | mavenVersion = LibraryVersions.LIFECYCLES_RUNTIME |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 33 | mavenGroup LibraryGroups.LIFECYCLE |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 34 | inceptionYear '2017' |
| 35 | description "Android Lifecycle Runtime" |
| 36 | url SupportLibraryExtension.ARCHITECTURE_URL |
| 37 | } |