-
Notifications
You must be signed in to change notification settings - Fork 124
/
build.gradle
executable file
·39 lines (35 loc) · 1 KB
/
build.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
buildscript {
ext {
appTargetSdk = 33
appMinSdk = 23
appVersionCode = 50500
appVersionName = "5.5.0"
lifecycleVersion = "2.4.1"
navigationVersion = "2.5.1"
retrofitVersion = "2.9.0"
okHttpVersion = "4.10.0"
}
repositories {
google()
gradlePluginPortal()
maven { url 'https://jitpack.io' }
//默认使用 gradlePluginPortal,以便在依赖库有紧急更新时能第一时间获取
//如对日常的拉取速度有追求,可考虑使用以下远程仓库(是对 central 的国内同步仓库,存在 1 天左右的时差)
//maven { url "https://maven.aliyun.com/repository/public" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
rootProject.allprojects {
delete(it.buildDir)
}
}