(minor) Fix static init issue with Gradle multi-threaded resolve
This commit is contained in:
+1
-1
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user