-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle
53 lines (50 loc) · 1.81 KB
/
settings.gradle
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven { url 'https://developer.huawei.com/repo/' }
maven {
url 'https://t.pinpad.qq.com/fHKFBbEjd/repository/maven-public/'
//本地maven不能添加如下验证,否则会包错误:Authentication scheme 'basic'(BasicAuthentication) is not supported by protocol 'file
//主要是因为上面的url采用变量的形式
credentials {
username "tmf_read"
password "psnBSt@BVMva6#&^"
}
authentication {
basic(BasicAuthentication)
}
}
maven {
url 'https://tcmpp-work-maven.pkg.coding.net/repository/tcmpp/android/'
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://developer.huawei.com/repo/' }
maven { url "https://jitpack.io" }
maven {
url 'https://t.pinpad.qq.com/fHKFBbEjd/repository/maven-public/'
//本地maven不能添加如下验证,否则会包错误:Authentication scheme 'basic'(BasicAuthentication) is not supported by protocol 'file
//主要是因为上面的url采用变量的形式
credentials {
username "tmf_read"
password "psnBSt@BVMva6#&^"
}
authentication {
basic(BasicAuthentication)
}
}
maven {
url 'https://tcmpp-work-maven.pkg.coding.net/repository/tcmpp/android/'
}
maven { url "${rootProject.projectDir}/offline_sdks/tcmpp-local-repo/"}
}
}
rootProject.name = "TCMPP-Demo"
include ':app'