| import static android.support.dependencies.DependenciesKt.* |
| import android.support.LibraryGroups |
| import android.support.LibraryVersions |
| import android.support.SupportLibraryExtension |
| |
| plugins { |
| id("SupportAndroidLibraryPlugin") |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion flatfoot.min_sdk |
| } |
| |
| buildTypes.all { |
| consumerProguardFiles 'proguard-rules.pro' |
| } |
| } |
| |
| dependencies { |
| api(project(":lifecycle:common")) |
| api(project(":arch:common")) |
| // necessary for IJ to resolve dependencies. |
| api libs.support.annotations |
| |
| testImplementation(JUNIT) |
| testImplementation(MOCKITO_CORE) |
| |
| androidTestImplementation(JUNIT) |
| androidTestImplementation(TEST_RUNNER, libs.exclude_annotations) |
| } |
| |
| supportLibrary { |
| name 'Android Lifecycle Runtime' |
| publish true |
| mavenVersion = LibraryVersions.LIFECYCLES_RUNTIME |
| mavenGroup LibraryGroups.LIFECYCLE |
| inceptionYear '2017' |
| description "Android Lifecycle Runtime" |
| url SupportLibraryExtension.ARCHITECTURE_URL |
| } |