From 52fa8f3d1053c2bd2dea0a0852d83cf84d36da10 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Sun, 26 Feb 2023 09:53:49 +0800 Subject: [PATCH] Re-add "OpenAL" target to workaround transitive dependencies. Fixes #245 --- app/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 84924bd0..2e2490cc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,10 +15,10 @@ android { externalNativeBuild { cmake { arguments "-DANDROID_STL=c++_shared" - // Transitive shared library dependency is not taken into account, this - // will cause liboboe.so not get included. love depends on OpenAL that - // depends on oboe::oboe. So, add "OpenAL" target. - targets "love_android" + // Transitive shared library dependency across AAR is not taken into account, + // this result in liboboe.so not get included into the final APK. love depends + // on OpenAL that depends on oboe::oboe. So, add "OpenAL" target. + targets "love_android", "OpenAL" } } } @@ -136,5 +136,5 @@ dependencies { implementation 'androidx.navigation:navigation-ui:2.5.3' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' - implementation 'com.google.oboe:oboe:1.6.1' + implementation 'com.google.oboe:oboe:1.7.0' }