build.gradle.kts
repositories { maven { setUrl("https://maven.aliyun.com/nexus/content/groups/public/") } mavenCentral() flatDir { dirs("libs") }}
build.gradle
repositories { // mavenCentral() maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/'}}
来源地址:https://blog.csdn.net/qq_41086359/article/details/129516756