Bug 1544076 - [1.1] Add lifecycle library dependency. r=nalexander,snorp

Differential Revision: https://phabricator.services.mozilla.com/D28082

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Eugen Sawin 2019-04-24 17:51:32 +00:00
parent 23e0b455ee
commit 9a2c465f9f
2 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,7 @@ buildscript {
ext.kotlin_version = '1.2.41'
ext.support_library_version = '28.0.0'
ext.jacoco_version = '0.8.1'
ext.lifecycle_library_version = '1.1.1'
if (gradle.mozconfig.substs.MOZ_ANDROID_GOOGLE_PLAY_SERVICES) {
ext.google_play_services_version = '15.0.1'

View File

@ -220,6 +220,9 @@ dependencies {
implementation "com.android.support:palette-v7:$support_library_version"
implementation "org.yaml:snakeyaml:1.24:android"
implementation "android.arch.lifecycle:extensions:$lifecycle_library_version"
implementation "android.arch.lifecycle:common-java8:$lifecycle_library_version"
testImplementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:3.8'