| import static androidx.build.dependencies.DependenciesKt.* |
| import androidx.build.LibraryGroups |
| import androidx.build.LibraryVersions |
| import androidx.build.SupportLibraryExtension |
| |
| plugins { |
| id("SupportAndroidLibraryPlugin") |
| } |
| |
| android { |
| buildTypes.all { |
| consumerProguardFiles 'proguard-rules.pro' |
| } |
| |
| lintOptions { |
| fatal("UnknownNullness") |
| } |
| } |
| |
| dependencies { |
| api(project(":lifecycle:lifecycle-common")) |
| api(project(":arch:core-common")) |
| // necessary for IJ to resolve dependencies. |
| api(SUPPORT_ANNOTATIONS) |
| |
| testImplementation(JUNIT) |
| testImplementation(MOCKITO_CORE) |
| |
| androidTestImplementation(JUNIT) |
| androidTestImplementation(TEST_RUNNER) |
| } |
| |
| supportLibrary { |
| name 'Android Lifecycle Runtime' |
| publish true |
| mavenVersion = LibraryVersions.LIFECYCLES_RUNTIME |
| mavenGroup LibraryGroups.LIFECYCLE |
| inceptionYear '2017' |
| description "Android Lifecycle Runtime" |
| url SupportLibraryExtension.ARCHITECTURE_URL |
| failOnDeprecationWarnings = false |
| } |