Just curious, any progress on this? I'm just starting on integrating a gradle-built app into a circa android-10 aosp build system. Running gradlew from the Android.mk file isn't that hard, but the issues I see:
* How to tell the ASOP build system about the generated apk files.
* How to get gradle, when run from an AOSP build, to ues the normal intermediates output dirs instead of its normal build/ dirs mixed in with the source tree.
And I'm pretty sure there are a lot more issues. I already worked out how to get it to use the AOSP keys, but I suspect that was the easiest part.
Kevin