使用gradle.properties跳过任务

问题描述 投票:0回答:1

要跳过我可以写的任务

./gradlew assembleDebug -x countDebugDexMethods

我可以将此选项分解为配置文件,即gradle.properties吗?

gradle
1个回答
0
投票

只需禁用build.gradle中的任务即可

countDebugDexMethods.enabled = false
© www.soinside.com 2019 - 2024. All rights reserved.