Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
60 lines (50 loc) · 1.57 KB
/
Copy pathbuild.gradle
File metadata and controls
60 lines (50 loc) · 1.57 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
//公用技术栈
rxjavaVersion = '2.1.2'
rxAndroidVersion = '2.1.0'
gsonVersion = '2.8.4'
greenDaoVersion = '3.3.0'
okhttp3Version = '3.11.0'
retrofit2Version = '2.4.0'
materialDialogsVersion = "0.9.6.0"
androidXCompatVersion = "1.1.0"
androidXKtxVersion = "1.2.0"
androidXConstraintVersion = "1.1.3"
glideVersion = "4.11.0"
glideWebpVersion = "2.0.4.11.0"
downloadVersion = "1.0.2"
//---------输出组件版本号
vivaSDKVersion = '5.0.0-bate02'
//该文件设计打包脚本处理,参数格式正常情况不做特别修改
android = [
compileSdkVersion: 30,
buildToolsVersion: "28.0.3",
minSdkVersion : 21,
targetSdkVersion : 30]
}
buildscript {
ext.kotlin_version = '1.3.72'
ext.kotlin_coroutines = '1.3.5'
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
// Could not find common.jar(android/arch/core/common/1.0.0/common-1.0.0.jar) if below(jcenter() )
google()
jcenter()
mavenCentral()
maven {
url 'https://serverless-1533657941-maven.pkg.coding.net/repository/app-sdk-pub/bintray/'
}
}
}