Gradle build, solve dependency for library AAR stored on gitlab

851 Views Asked by At

I'm working on an android application and I need to reuse some modules (like navigation, header) in other android applications. My apps and modules are stored on gitlab, each of them has a repository.

What i would like to do if possible:

  • store AAR library on gitlab
  • use the url of the repository which contains all the libraries as a maven repository, and call this URL with gradle
  • get a specific library from this URL (the module header, for example) by using a name, version...

I have some little ideas about how to call the repository URL, but I don't know how to create a reference to a specific module with a specific version...

0

There are 0 best solutions below