[Gradle] Implement Kotlin*NativeCompilations with underlying KotlinCompilationImpl

KT-54312
This commit is contained in:
Sebastian Sellmair
2022-09-30 00:07:08 +02:00
committed by Space Team
parent a67b2a8be5
commit 4cbd715b17
53 changed files with 1046 additions and 608 deletions
@@ -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 }
}