[Gradle, JS] Divide KotlinJsCompilerAttribute

This commit is contained in:
Ilya Goncharov
2020-02-20 16:53:30 +03:00
parent cc97138e9c
commit 9acd98071e
5 changed files with 42 additions and 19 deletions
@@ -25,8 +25,7 @@ enum class KotlinJsCompilerType : Named, Serializable {
const val jsCompilerProperty = "kotlin.js.compiler"
fun byArgument(argument: String): KotlinJsCompilerType? =
KotlinJsCompilerType
.values().firstOrNull { it.name.equals(argument, ignoreCase = true) }
values().firstOrNull { it.name.equals(argument, ignoreCase = true) }
}
}