Skip to content

Commit

Permalink
Merge pull request godotengine#35631 from m4gr3d/fix_game_crash
Browse files Browse the repository at this point in the history
Address crash caused by missing dependency.
  • Loading branch information
akien-mga authored Jan 27, 2020
2 parents 485180e + 9bd841b commit 40c6598
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions platform/android/java/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ allprojects {
}

dependencies {
implementation libraries.supportCoreUtils

if (rootProject.findProject(":lib")) {
implementation project(":lib")
} else {
Expand Down
4 changes: 3 additions & 1 deletion platform/android/java/app/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { ->
Expand Down
2 changes: 1 addition & 1 deletion platform/android/java/lib/build.gradle
Original file line number Diff line number Diff line change
@@ -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 = "../../../../"
Expand Down

0 comments on commit 40c6598

Please sign in to comment.