This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathbuild.gradle
42 lines (39 loc) · 1.51 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
40
41
42
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// 依赖配置
apply from: 'dependencies.gradle'
apply from: 'properties.gradle'
buildscript {
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'http://raedev.io:8081/repository/maven-public/' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://plugins.gradle.org/m2/" }
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT'
// 热更新插件
// classpath "com.tencent.bugly:tinker-support:1.0.8"
classpath 'com.meituan.android.walle:plugin:1.1.6'
// greenDAO
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
// SDK HTTP上传文件,用不到可以注释掉
classpath "gradle.plugin.io.github.http-builder-ng:http-plugin:0.1.1"
}
}
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'http://raedev.io:8081/repository/maven-public/' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "http://mvn.leancloud.cn/nexus/content/repositories/public" }
maven { url "https://jitpack.io" }
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}