Skip to content

Commit

Permalink
Add AndroidX as a dependency of Android projects.
Browse files Browse the repository at this point in the history
This is a workaround until the AndroidX situation gets sorted out in libGDX; this should be equivalent to one of the possible fixes that could apply to libGDX.
  • Loading branch information
tommyettinger committed Oct 17, 2024
1 parent ff5397f commit 3981c48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/kotlin/gdx/liftoff/data/platforms/Android.kt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ class AndroidGradleFile(val project: Project) : GradleFile(Android.ID) {
addNativeDependency("com.badlogicgames.gdx:gdx-platform:\$gdxVersion:natives-arm64-v8a")
addNativeDependency("com.badlogicgames.gdx:gdx-platform:\$gdxVersion:natives-x86")
addNativeDependency("com.badlogicgames.gdx:gdx-platform:\$gdxVersion:natives-x86_64")
// TODO: This may be best if it can be removed in the version after libGDX 1.13.0, or established as a GDX dep.
addDependency("androidx.core:core:1.13.1")

plugins.add("com.android.application")
}

Expand Down

0 comments on commit 3981c48

Please sign in to comment.