JS: add -Xmetadata-only flag for JS common code modules (KT-33142 fixed)

This commit is contained in:
Anton Bannykh
2019-09-11 15:58:34 +03:00
parent 6a808ce842
commit ead8379c50
16 changed files with 1140 additions and 89 deletions
@@ -134,4 +134,7 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
description = "Paths to friend modules"
)
var friendModules: String? by NullableStringFreezableVar(null)
@Argument(value = "-Xmetadata-only", description = "Generate *.meta.js and *.kjsm files only")
var metadataOnly: Boolean by FreezableVar(false)
}