Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 1 | import static android.support.dependencies.DependenciesKt.* |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 2 | import android.support.LibraryGroups |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 3 | import android.support.LibraryVersions |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 4 | import android.support.SupportLibraryExtension |
| 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 { |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 11 | defaultConfig { |
Yigit Boyar | 450ed38 | 2017-03-02 09:48:25 -0800 | [diff] [blame] | 12 | minSdkVersion flatfoot.min_sdk |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 13 | } |
Sergey Vasilinets | 1a06787 | 2017-06-21 16:27:47 -0700 | [diff] [blame] | 14 | |
| 15 | buildTypes.all { |
| 16 | consumerProguardFiles 'proguard-rules.pro' |
| 17 | } |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | dependencies { |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 21 | api(project(":lifecycle:common")) |
| 22 | api(project(":arch:common")) |
Sergey Vasilinets | e69e470 | 2017-02-10 02:26:10 -0800 | [diff] [blame] | 23 | // necessary for IJ to resolve dependencies. |
Aurimas Liutikas | 87a16a5 | 2017-11-09 13:53:34 -0800 | [diff] [blame] | 24 | api libs.support.annotations |
Yigit Boyar | 21886b6 | 2016-12-12 16:59:30 -0800 | [diff] [blame] | 25 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 26 | testImplementation(JUNIT) |
| 27 | testImplementation(MOCKITO_CORE) |
Yigit Boyar | 54850ab | 2017-10-09 11:31:24 -0700 | [diff] [blame] | 28 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 29 | androidTestImplementation(JUNIT) |
Jake Wharton | 843419a | 2017-12-06 11:16:56 -0500 | [diff] [blame^] | 30 | androidTestImplementation(TEST_RUNNER) |
Yigit Boyar | b96cceaa | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 31 | } |
Yigit Boyar | 19b4110 | 2016-11-20 10:46:32 -0800 | [diff] [blame] | 32 | |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 33 | supportLibrary { |
| 34 | name 'Android Lifecycle Runtime' |
| 35 | publish true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 36 | mavenVersion = LibraryVersions.LIFECYCLES_RUNTIME |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 37 | mavenGroup LibraryGroups.LIFECYCLE |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 38 | inceptionYear '2017' |
| 39 | description "Android Lifecycle Runtime" |
| 40 | url SupportLibraryExtension.ARCHITECTURE_URL |
| 41 | } |