eth*_*han 7 groovy android gradle
I have search Gradle official website and Android Developer official website, but could not find an answer to this.
In the Andoroid build.gradle, what is the difference between defaultConfig, buildtypes.all, and buildtypes.each. They all seems to have a same effect that set build configuration for different build types (release, debug, etc.)
Why might I use one over the other?
android {
...
defaultConfig {
...
}
buildTypes {
release {
...
}
}
buildTypes.all {
...
}
buildTypes.each {
...
}
}
Run Code Online (Sandbox Code Playgroud)| 归档时间: |
|
| 查看次数: |
957 次 |
| 最近记录: |