Android core modules published with JitPack.
- Push the code to GitHub.
- Create a Git tag or GitHub release, for example
1.0.0. - Open
https://jitpack.io/#nguyenvuong0308/CodeBaseand request the tag build.
JitPack runs ./gradlew clean publishToMavenLocal -x test from jitpack.yml.
Add JitPack to the consuming app:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven(url = uri("https://jitpack.io"))
}
}Use the modules you need:
dependencies {
implementation("com.github.nguyenvuong0308:CodeBase:2.0.6")
}Available artifacts:
coreadsanalyticsbaseuibillingconfigdimenspreferencerateutilities