Add AndroidX dependencies

This commit is contained in:
Torsten Grote 2019-06-07 14:09:55 -03:00
parent bd599db492
commit 7fd3810fbf
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF
2 changed files with 7 additions and 0 deletions

View file

@ -79,4 +79,8 @@ dependencies {
], dir: 'libs')
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
// androidx uses old versions, but we need to use what AOSP currently supports
implementation 'androidx.preference:preference:1.0.0-alpha1'
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-alpha1'
}

View file

@ -32,4 +32,7 @@ LOCAL_CERTIFICATE := platform
LOCAL_STATIC_JAVA_LIBRARIES := commons-io
LOCAL_SRC_FILES := $(call all-java-files-under, java)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_STATIC_ANDROID_LIBRARIES := \
androidx.preference_preference \
androidx.lifecycle_lifecycle-extensions
include $(BUILD_PACKAGE)