Мак*_*люк 5 android android-productflavors android-build-flavors android-flavors apk-signing
小例子将描述这种情况:
flavorDimensions 'shape', 'api'
productFlavors {
fruit {
dimension "shape"
}
vegtable {
dimension "shape"
}
production {
dimension "api"
}
development {
dimension "api"
}
}
Run Code Online (Sandbox Code Playgroud)
任务: 我需要为fruitProduction和fruitDevelopment风格保留不同的签名配置。
我研究了 gradle 文档,但没有找到合适的任务,可以覆盖特殊风格的配置。
| 归档时间: |
|
| 查看次数: |
227 次 |
| 最近记录: |