Is there an inherent problem with using if statements to define the minSdkVersion in the defaultConfig block?
问题 Background Working on a project that has multiple sub projects (modules) that are dependent on some libraries within the same root project. For the purpose of some testing functionality, we need a higher minSdkVersion (21), but this minSdkVersion is not necessary for the normal use of the application as we can get all we need from version 14. Therefore we've tried to include some if logic to separate the build for testing vs production purposes. The snippet in question is here: android {