To get a Git project into your build:
-
Step 1 Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } } -
Step 2 Add the dependency
dependencies { implementation 'com.github.BeAppOnline:AdjustExample:1.0.0' }
That's it! The first time you request a project JitPack checks out the code, builds it and serves the build artifacts (jar, aar).