Add the following code to your root build.gradle
file:
gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add the following dependency to your app module's build.gradle file, replacing 'Tag' with the desired release or commit tag:
dependencies {
implementation 'com.github.NiborDev:SimpleSwipeCard:Tag'
}