@Override
@NonNull
public AndroidVersion getTargetSdkVersion() {
if (mTargetSdkVersion == null) {
ApiVersion targetSdk = mVariant.getMergedFlavor().getTargetSdkVersion();
if (targetSdk == null) {
ProductFlavor flavor = mProject.getDefaultConfig().getProductFlavor();
targetSdk = flavor.getTargetSdkVersion();
}
if (targetSdk != null) {