-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (40 loc) · 1.22 KB
/
Copy pathbuild.gradle
File metadata and controls
47 lines (40 loc) · 1.22 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
// 项目级构建配置,统一管理 Android Gradle Plugin、Kotlin 和仓库配置。
apply from: 'password.gradle'//该用于存储重要密码不上传,可替换为maven.gradle来通过代码运行
buildscript {
ext {
kotlin_version = '2.3.21'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:8.13.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
//版本常量
ext.BASE_VERSION_NAME = "2.0.4"
ext.BASE_VERSION_CODE = 204
ext.BILLING_EASY_VERSION_NAME = "2.0.4"
ext.BILLING_EASY_VERSION_CODE = 204
allprojects {
repositories {
maven {
credentials {
username '64902788b97ac8ef224e6817'
password '99F9lqriqO4R'
}
url 'https://packages.aliyun.com/maven/repository/2254835-release-ZGwQoJ/'
}
google()
mavenCentral()
jcenter()
maven {url 'https://developer.huawei.com/repo/'}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}