-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
32 lines (32 loc) · 962 Bytes
/
Copy pathsettings.gradle
File metadata and controls
32 lines (32 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pluginManagement {
buildscript {
repositories {
mavenCentral()
google()
maven { url = uri("https://storage.googleapis.com/r8-releases/raw") }
// 新增:添加JitPack仓库(MPAndroidChart依赖)
maven { url = uri("https://jitpack.io") }
}
dependencies {
classpath("com.android.tools:r8:8.1.44")
}
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
// 新增:添加JitPack仓库
maven { url = uri("https://jitpack.io") }
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// 核心新增:添加JitPack仓库(必须加在这里,全局依赖解析)
maven { url = uri("https://jitpack.io") }
}
}
rootProject.name = "RK_Multimedia_Demo"
include ':app'