@Override protected void _initWith(@NonNull BaseConfig that) { super._initWith(that); BuildType thatBuildType = (BuildType) that; ndkConfig._initWith(thatBuildType.getNdkConfig()); jackOptions._initWith(thatBuildType.getJackOptions()); javaCompileOptions.getAnnotationProcessorOptions()._initWith( thatBuildType.getJavaCompileOptions().getAnnotationProcessorOptions()); shrinkResources = thatBuildType.isShrinkResources(); shaderOptions._initWith(thatBuildType.getShaders()); externalNativeBuildOptions._initWith(thatBuildType.getExternalNativeBuildOptions()); useProguard = thatBuildType.isUseProguard(); }