SmsForwarder/build.gradle

42 lines
1.5 KiB
Groovy
Raw Normal View History

//file:noinspection DependencyNotationArgument
2023-01-20 03:10:08 +00:00
buildscript {
apply from: './versions.gradle'
addRepos(repositories) //增加代码仓库
dependencies {
2023-02-14 08:43:24 +00:00
classpath deps.android_gradle_plugin
2023-01-20 03:10:08 +00:00
classpath deps.android_maven_gradle_plugin
//图片压缩
2024-01-29 12:14:37 +00:00
classpath 'com.chenenyu:img-optimizer:1.3.0'
2023-01-20 03:10:08 +00:00
//美团多渠道打包
2023-02-01 03:17:14 +00:00
//classpath 'com.meituan.android.walle:plugin:1.1.6'
2023-01-20 03:10:08 +00:00
//滴滴的质量优化框架
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'
2023-01-20 03:10:08 +00:00
}
}
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" }
}
2023-02-09 16:17:15 +00:00
// 将构建文件统一输出到项目根目录下的 build 文件夹
setBuildDir(new File(rootDir, "build/${path.replaceAll(':', '/')}"))
2023-01-20 03:10:08 +00:00
}
2023-12-17 12:04:18 +00:00
tasks.register('clean', Delete) {
2023-01-20 03:10:08 +00:00
delete rootProject.buildDir
}