0

I have an aar file publicly available for use by clients. It is downloadable from a URL. How can I add a reference to the library in an android app?

I understand I need to upload it to bintray/jcenter/mavencentral for it to work with versioning. But that is not an option right now.

Is there a free repository I can host on my servers to expose the library?

snakepitbean
  • 217
  • 4
  • 13

1 Answers1

1

I understand I need to upload it to bintray/jcenter/mavencentral for it to work with versioning

No. You need to have it be in a repository for it to work with versioning. You are welcome to create your own repository. A Maven-style artifact repository is merely a particular directory structure, along with metadata files and your AAR.

For example, I distribute my libraries through a Maven-style repository that I host on Amazon S3.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491