Merge pull request #35631 from m4gr3d/fix_game_crash

Address crash caused by missing dependency.
This commit is contained in:
Rémi Verschelde 2020-01-27 20:04:53 +01:00 committed by GitHub
commit 40c659867e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

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

View file

@ -4,11 +4,13 @@ ext.versions = [
minSdk : 18, minSdk : 18,
targetSdk : 28, targetSdk : 28,
buildTools : '28.0.3', buildTools : '28.0.3',
supportCoreUtils : '28.0.0'
] ]
ext.libraries = [ 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 = { -> ext.getExportPackageName = { ->

View file

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