[build][xcode][warning][todo] suppress deprecation warning with todo till bootstrap bump
This commit is contained in:
@@ -35,6 +35,13 @@ interface Xcode {
|
||||
val additionalTools: String
|
||||
val simulatorRuntimes: String
|
||||
|
||||
/**
|
||||
* TODO: `toLowerCase` is deprecated and should be replaced with `lowercase`, but
|
||||
* this code used in buildSrc which depends on bootstrap version of stdlib, so right version
|
||||
* of this function isn't available, please replace warning suppression with right function
|
||||
* when compatible version of bootstrap will be available.
|
||||
*/
|
||||
@Suppress("DEPRECATION")
|
||||
fun pathToPlatformSdk(platformName: String): String = when (platformName.toLowerCase()) {
|
||||
"macosx" -> macosxSdk
|
||||
"iphoneos" -> iphoneosSdk
|
||||
|
||||
Reference in New Issue
Block a user