-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathbuild.gradle
More file actions
21 lines (17 loc) · 592 Bytes
/
build.gradle
File metadata and controls
21 lines (17 loc) · 592 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: './versions.gradle'
addRepos(repositories) //增加代码仓库
dependencies {
classpath deps.android_gradle_plugin
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10'
classpath 'com.github.xuexiangjys.XAOP:xaop-plugin:1.1.0'
classpath 'com.chenenyu:img-optimizer:1.2.0' // 图片压缩
}
}
allprojects {
addRepos(repositories)
}
task clean(type: Delete) {
delete rootProject.buildDir
}