Android Music SDK published to maven

Overview

Hi I'm an Android Engineer at Mapbox. We are building SDKs that would include Apple Music integrations. The issue is that we cannot publish an .aar file that includes .aar files.

Direct local .aar file dependencies are not supported when building an AAR

So the question is, why isn't Apple Music Android SDK published to maven? It's bizarre to download android sdks and then include raw versions in your app anyways. To be specific, the issue is talking about these files.

mediaplayback-release-1.1.1.aar
musickitauth-release-1.1.2.aar

If the artifacts were uploaded to maven, then we could make them part of a build.gradle like this:

implementation("com.apple.music.mediaplayback:1.1.1")
implementation("com.apple.music.musickitauth:1.1.2")

Questions

Has someone published these SDKs so we can include them without a raw download?

Is there a legal reason to not publish it ourselves?

Android Music SDK published to maven
 
 
Q