I know how to push a library to jitpack using Android Studio.
For a single library module,
Step 1: I apply this plugin to project level build.gradle,
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
Step 2: In library module's build.gradle
apply plugin: 'com.github.dcendents.android-maven'
group='com.github.username'
I have two library modules in my project, A and B. B depends on A.
What I want to achieve is push both A and B to jitpack as a single gradle dependency, and provide user a choice to use either A or B. I suppose they can achieve it with something like exclude in build.gradle, right ?
Now, given I have two library modules A and B, do I follow step 2 for both the library module ?