【发布时间】:2019-05-09 01:24:23
【问题描述】:
首先,我在主模块(:app)上设置了完整版的Gradle设置,其他模块是:核心,常量,反馈......等
Gradle 构建运行时,标题中提到的所有设置都会应用到其他模块(从:app,到:core,constant,feedback...)
Androidstudio 版本:3.4 Gradle 依赖版本:“com.android.tools.build:gradle:3.3.2”
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
kapt {
useBuildCache = true
}
dexOptions {
dexInProcess true
preDexLibraries true
maxProcessCount 15
}
aaptOptions {
cruncherEnabled = enableCruncher()
cruncherProcesses = 0
}
compileOptions{
incremental = true
}
【问题讨论】:
标签: android gradle android-gradle-plugin