Import new Gradle coroutines DSL setting into Kotlin facet
Original commit: da6640971f
This commit is contained in:
@@ -82,7 +82,7 @@ enum class CoroutineSupport(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun byCompilerArgument(argument: String): CoroutineSupport {
|
fun byCompilerArgument(argument: String): CoroutineSupport {
|
||||||
return CoroutineSupport.values().find { it.compilerArgument == argument } ?: DEFAULT
|
return CoroutineSupport.values().find { it.compilerArgument.equals(argument, ignoreCase = true) } ?: DEFAULT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user