gradle 配置https://jitpack.io

添加 jitpack.io 作为一个 repository 在settings.gradle的dependencyResolutionManagement

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}

你可能感兴趣的:(gradle 配置https://jitpack.io)