(minor) Fix static init issue with Gradle multi-threaded resolve

This commit is contained in:
Sergey Igushkin
2021-02-10 22:45:33 +03:00
parent f1f97b4104
commit 147fd22cfb
@@ -80,7 +80,7 @@ sealed class SourceSetMetadataLayout(
override fun toString(): String = name
companion object {
private val values = listOf(METADATA, KLIB)
private val values get() = listOf(METADATA, KLIB)
fun byName(name: String): SourceSetMetadataLayout? = values.firstOrNull { it.name == name }