[Gradle][Native] Setup refinesPaths as expectedBy module dependencies

Previously, dependsOn dependencies were just passed as friend modules
to shared native compilations.

^KT-55071 Verification Pending
This commit is contained in:
Sebastian Sellmair
2022-11-23 10:16:17 +01:00
committed by Space Team
parent 0be789e9e3
commit 752ff04245
14 changed files with 99 additions and 78 deletions
@@ -281,6 +281,16 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
)
var friendModules: String? = null
/**
* @see K2MetadataCompilerArguments.refinesPaths
*/
@Argument(
value = "-Xrefines-paths",
valueDescription = "<path>",
description = "Paths to output directories for refined modules (whose expects this module can actualize)"
)
var refinesPaths: String? = null
@Argument(value = "-Xdebug-info-version", description = "generate debug info of given version (1, 2)")
var debugInfoFormatVersion: String = "1" /* command line parser doesn't accept kotlin.Int type */