Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (55 loc) · 1.67 KB
/
Copy pathbuild.gradle
File metadata and controls
63 lines (55 loc) · 1.67 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: "config.gradle"
ext {
kotlin_version = '1.3.71'
}
repositories {
google()
jcenter()
maven {
url uri('./snapshotRepo')
}
maven {
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
maven { url 'https://jitpack.io' }
mavenCentral() // add repository
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
//xiaojinzi123的组件化框架
classpath "com.github.xiaojinzi123.Component:component-plugin:${versions.component_version}-androidx"
//diy的自动采集
classpath 'pr.tongson:autotrack-gradle-plugin:1.0.0-SNAPSHOT'
//参考JIMU的自定义BuildGradle实现runAlone
classpath 'pr.tongson:build-gradle-plugin:1.0.0-SNAPSHOT'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin_version}"
}
}
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com'
}
maven {
url "https://jitpack.io"
}
maven {
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
//Bmob的maven仓库地址--必填
maven { url 'https://dl.bintray.com/chaozhouzhang/maven' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
configurations.all {
resolutionStrategy.cacheChangingModulesFor 10, 'seconds'
}
}