forked from pppscn/SmsForwarder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (38 loc) · 1.47 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
//file:noinspection DependencyNotationArgument
buildscript {
apply from: './versions.gradle'
addRepos(repositories) //增加代码仓库
dependencies {
classpath deps.android_gradle_plugin
classpath deps.android_maven_gradle_plugin
//图片压缩
classpath 'com.chenenyu:img-optimizer:1.3.0'
//美团多渠道打包
//classpath 'com.meituan.android.walle:plugin:1.1.6'
//滴滴的质量优化框架
if (isNeedPackage.toBoolean() && isUseBooster.toBoolean()) {
classpath deps.booster.gradle_plugin
classpath deps.booster.task_processed_res
classpath deps.booster.task_resource_deredundancy
}
//AndServer
classpath 'cn.ppps.andserver:plugin:2.1.12'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://oss.sonatype.org/content/repositories/public' }
maven { url "https://jitpack.io" }
}
// 将构建文件统一输出到项目根目录下的 build 文件夹
setBuildDir(new File(rootDir, "build/${path.replaceAll(':', '/')}"))
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}