Add JitPack to your Android project
Step 1: Add the JitPack repository to your root build.gradle
Add the JitPack repository to your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
Step 2: Add the dependency
Add the dependency to your module build.gradle:
dependencies { implementation 'com.github.jitpack:jitpack-io:1.0.0' }
Step 3: Include the JitPack repository in your gradle.properties
Remember to include the JitPack repository in your gradle.properties file:
jitpackUrl=https://jitpack.io
Step 4: Refresh your gradle
Click "Refresh all Gradle projects" in Android Studio and you're ready to go!
Komentar