Working on Android open-source I needed to publish two libraries (Android-Image-Cropper and Android-Fast-Image-Loader) to JCenter.
What I will touch in this post:
- Publishing AAR
- "Sources not found" issue with AAR
- AAR vs. JAR
- Publishing JAR
- Handling optional dependency in Gradle