Address crash caused by missing dependency.

This commit is contained in:
fhuya 2020-01-27 09:56:27 -08:00
parent 887950b793
commit e41caac7db
3 changed files with 6 additions and 2 deletions

View file

@ -33,6 +33,8 @@ allprojects {
}
dependencies {
implementation libraries.supportCoreUtils
if (rootProject.findProject(":lib")) {
implementation project(":lib")
} else {

View file

@ -4,11 +4,13 @@ ext.versions = [
minSdk : 18,
targetSdk : 28,
buildTools : '28.0.3',
supportCoreUtils : '28.0.0'
]
ext.libraries = [
androidGradlePlugin : "com.android.tools.build:gradle:$versions.androidGradlePlugin"
androidGradlePlugin : "com.android.tools.build:gradle:$versions.androidGradlePlugin",
supportCoreUtils : "com.android.support:support-core-utils:$versions.supportCoreUtils"
]
ext.getExportPackageName = { ->

View file

@ -1,7 +1,7 @@
apply plugin: 'com.android.library'
dependencies {
implementation "com.android.support:support-core-utils:28.0.0"
implementation libraries.supportCoreUtils
}
def pathToRootDir = "../../../../"