I could use a little help better understanding the options I have with regards to adding a dependency on an Android library that has been published locally.
In my situation, I have two different projects located in two different directories:
Project of Library: ~/Documents/src/<my library>
Project that will consume library: ~/Documents/src/<client app>
I followed the instructions provided here in order to publish the android library locally:
http://blog.maxaller.name/android/2016/11/25/developing-a-local-android-plugin.html
I'm going to assume that the output library generated ended up here:
~/Documents/src/<my library>/library/build/outputs/aar/*.aar
It'd be nice if I can point directly to this library.
What options do I have in order to update the build.gradle file of the client app such that there is a dependency on that library?
Below is the key pieces of the build.gradle file, as it currently stands:
buildscript {
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
...
dependencies {
...
???implementation <my group ID>:<my artifact ID>:<version #>??
OR
implementation project(path: '<What am I doing?>')
...
}
I must troubleshoot a few things before publishing the library online.
Thanks for the clarification in advance!