• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import static androidx.build.dependencies.DependenciesKt.*
2import androidx.build.LibraryGroups
3import androidx.build.LibraryVersions
4import androidx.build.SupportLibraryExtension
5
6plugins {
7    id("SupportAndroidLibraryPlugin")
8}
9
10android {
11    buildTypes.all {
12        consumerProguardFiles 'proguard-rules.pro'
13    }
14}
15
16dependencies {
17    api(project(":lifecycle:lifecycle-common"))
18    api(project(":arch:core-common"))
19    // necessary for IJ to resolve dependencies.
20    api(SUPPORT_ANNOTATIONS)
21
22    testImplementation(JUNIT)
23    testImplementation(MOCKITO_CORE)
24
25    androidTestImplementation(JUNIT)
26    androidTestImplementation(TEST_RUNNER)
27}
28
29supportLibrary {
30    name 'Android Lifecycle Runtime'
31    publish true
32    mavenVersion = LibraryVersions.LIFECYCLES_RUNTIME
33    mavenGroup LibraryGroups.LIFECYCLE
34    inceptionYear '2017'
35    description "Android Lifecycle Runtime"
36    url SupportLibraryExtension.ARCHITECTURE_URL
37    failOnDeprecationWarnings = false
38}