A lightweight module used to assemble mvp and send network requests. Check out app module to know how to use.
- step 1
allprojects {
repositories {
// Add it in your root build.gradle at the end of repositories:
maven { url 'https://jitpack.io' }
}
}
or in gradle 7 and above
dependencyResolutionManagement {
repositories {
// Add it in your root build.gradle at the end of repositories:
maven { url 'https://jitpack.io' }
}
}
- step 2
dependencies {
// add core lib to your dependencies
implementation 'com.github.pslilysm.commonmodule:corelibrary:1.3.2'
// add rx lib to your dependencies
implementation 'com.github.pslilysm.commonmodule:rxlibrary:1.3.2'
}