[2.15.0][增量升级] 增加本地配置是否支持增量升级并记录此状态
This commit is contained in:
@@ -76,6 +76,7 @@ rootProject.gradle.taskGraph.whenReady { TaskExecutionGraph graph ->
|
||||
}
|
||||
if (app != null) {
|
||||
def android = (AppExtension) app.extensions.findByName("android")
|
||||
android.defaultConfig.buildConfigField("boolean", "IS_SUPPORT_PATCH_UPGRADE", rootProject.hasProperty("PATCH_UPGRADE_SUPPORT") ? rootProject.properties["PATCH_UPGRADE_SUPPORT"] : false)
|
||||
def signConfig = android.signingConfigs.getByName("release")
|
||||
if (signConfig != null && isOnlineReleaseBuild(gradle)) {
|
||||
if (tasks != null) {
|
||||
|
||||
Reference in New Issue
Block a user