Publishing to the local maven repository does not work
A big improvement of version 2.0 is the fact that you do not need to build JAR/AAR manually and include it in other projects to test the app, but instead, you can use the local maven repository (as described here) to make it easier and more convenient to use.
When investigating https://github.com/ably/ably-java/issues/853 we wanted to build ably-java locally and test it in another project (it's quite common, especially when working on ably-flutter) but it didn't work. When trying to use the artifacts from mavenLocal() the IDE/gradle was complaining that a given version of the library could not be found. This was working fine before on the 2.0 version, so either we did some changes that broke it, or there is a problem with the way we use the local repository.
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3131