[Gradle] Implement IdeCommonizedNativePlatformDependencyResolver

KT-55238
This commit is contained in:
Sebastian Sellmair
2022-12-02 14:05:06 +01:00
committed by Space Team
parent c1b1737cf0
commit 4b036cc627
5 changed files with 105 additions and 41 deletions
@@ -32,4 +32,12 @@ val isNativeStdlibKey = extrasKeyOf<Boolean>("isNativeStdlib")
/**
* Marks the dependency as the native stdlib (which is special in the native distribution)
*/
var IdeaKotlinBinaryDependency.isNativeStdlib by isNativeStdlibKey.readWriteProperty.notNull(false)
var IdeaKotlinBinaryDependency.isNativeStdlib by isNativeStdlibKey.readWriteProperty.notNull(false)
val isCommonizedKey = extrasKeyOf<Boolean>("isCommonized")
/**
* Marks dependencies produced by the commonizer
*/
var IdeaKotlinBinaryDependency.isCommonized by isCommonizedKey.readWriteProperty.notNull(false)