Support .aar dependencies
See original GitHub issueUpcoming Android SDKs will unbundle their support libraries (.jar, .aar) and host them in https://maven.google.com. See: https://developer.android.com/studio/build/dependencies.html#remote_repositories
Bazel already has maven_aar()
defined in @bazel_tools//tools/build_defs/repo:maven.bzl
.
To support .aar, we can extend the dependency’s lang:
attribute with a new value android
and resolve the URL accordingly.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Direct local .aar file dependencies are not supported
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android ......
Read more >[RN0.66][Android] Direct local .aar file dependencies are not ...
Description I have 3 rn modules that uses aar files. ... Direct local .aar file dependencies are not supported when building an AAR....
Read more >Create an Android library - Android Developers
Add your AAR or JAR as a dependency · Navigate to File > Project Structure > Dependencies. · In the Declared Dependencies tab,...
Read more >Using AAR dependencies in API library projects - DukeScript
The android-maven-plugin provides support for unpacking the AAR, while the “maven-install-plugin” is used to deploy it to th local repo. In our ...
Read more >Android: How to Include an External .aar File Using Gradle?
If conflicts occur between multiple AAR libraries, then the resource from the library listed first in the dependencies list (toward the top of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@johnynek feel free to assign this to me, thanks!
@Monnoroch sorry, no - did not manage to make any progress.