-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
108 lines (103 loc) · 3.05 KB
/
build.gradle
File metadata and controls
108 lines (103 loc) · 3.05 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "buildconfig.gradle"
buildscript {
ext.kotlin_version = '1.5.21'
repositories {
google()
mavenLocal()
mavenCentral()
maven {
url "https://www.jitpack.io"
allowInsecureProtocol = true
}
maven {
url 'https://maven.aliyun.com/repository/public/'
allowInsecureProtocol = true
}
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
allowInsecureProtocol = true
}
maven {
url "http://mvn.mob.com/android"
allowInsecureProtocol = true
}
maven {
url "http://maven.rongcloud.cn/repository/maven-releases/"
allowInsecureProtocol = true
}
maven {
url "https://raw.githubusercontent.com/Pgyer/analytics/master"
allowInsecureProtocol = true
}
maven {
url 'http://developer.huawei.com/repo/'
allowInsecureProtocol = true
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.1'
classpath 'com.meituan.android.walle:plugin:1.1.7'
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// 集成MobPush
classpath "com.mob.sdk:MobSDK:+"
// hms
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
}
//configurations.all {
// resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
//}
}
allprojects {
repositories {
google()
mavenLocal()
mavenCentral()
maven {
url "https://www.jitpack.io"
allowInsecureProtocol = true
}
maven {
url 'https://maven.aliyun.com/repository/public/'
allowInsecureProtocol = true
}
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
allowInsecureProtocol = true
}
maven {
url "http://mvn.mob.com/android"
allowInsecureProtocol = true
}
maven {
url "http://maven.rongcloud.cn/repository/maven-releases/"
allowInsecureProtocol = true
}
maven {
url "https://raw.githubusercontent.com/Pgyer/analytics/master"
allowInsecureProtocol = true
}
maven {
url 'http://developer.huawei.com/repo/'
allowInsecureProtocol = true
}
// flatDir {
// dirs project(':libsCenter').file('./')
// dirs project(':biz-libs').file('./')
// }
}
//configurations.all {
// resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
//}
}
//ext {
// compileSdkVersion = 30
// minSdkVersion = 21
// targetSdkVersion = 30
// versionCode = 130
// versionName = "1.3.0"
//}
task clean(type: Delete) {
delete rootProject.buildDir
}