Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to add 'https://jitpack.io library to android studio version bumble bee?

In last versions of android studio we can simply add the library https://jitpack.io to the gradle file (module project) easily but in the newest update (android-studio-bumble-bee), the structure of this file has been changed and I don't know how to add this library.

like image 690
A. baladastian Avatar asked Nov 16 '25 02:11

A. baladastian


1 Answers

For Kotlin DSL inside settings.gradle.kts file you can use setUrl() just like this.

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven {
           setUrl("https://jitpack.io")
        }
    }
}
like image 80
Tonnie Avatar answered Nov 18 '25 21:11

Tonnie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!