Skip to content

Instantly share code, notes, and snippets.

@criminact
Created November 22, 2021 16:03
Show Gist options
  • Select an option

  • Save criminact/f77f965ef83572759828dfe2393198fb to your computer and use it in GitHub Desktop.

Select an option

Save criminact/f77f965ef83572759828dfe2393198fb to your computer and use it in GitHub Desktop.
Adding jitpack repo in new versions
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
//add jitpack here
maven { url "https://jitpack.io" }
}
}
rootProject.name = "Example"
include ':app'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment