[Gradle] Implement Kotlin*NativeCompilations with underlying KotlinCompilationImpl
KT-54312
This commit is contained in:
committed by
Space Team
parent
a67b2a8be5
commit
4cbd715b17
+3
@@ -54,3 +54,6 @@ operator fun Extras.plus(entry: Extras.Entry<*>): Extras = ImmutableExtrasImpl(t
|
||||
|
||||
operator fun Extras.plus(entries: Iterable<Extras.Entry<*>>): Extras = ImmutableExtrasImpl(this.entries + entries)
|
||||
|
||||
inline fun <T : Any> MutableExtras.getOrPut(key: Extras.Key<T>, defaultValue: () -> T): T {
|
||||
return this[key] ?: defaultValue().also { this[key] = it }
|
||||
}
|
||||
Reference in New Issue
Block a user