[K/N] Deprecate -Xbundle-id and use binary options for Info.plist.
This commit is contained in:
@@ -382,8 +382,6 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
||||
})
|
||||
putIfNotNull(RUNTIME_LOGS, arguments.runtimeLogs)
|
||||
putIfNotNull(BUNDLE_ID, parseBundleId(arguments, outputKind, configuration))
|
||||
putIfNotNull(BUNDLE_SHORT_VERSION_STRING, arguments.bundleShortVersionString)
|
||||
putIfNotNull(BUNDLE_VERSION, arguments.bundleVersion)
|
||||
put(MEANINGFUL_BRIDGE_NAMES, arguments.meaningfulBridgeNames)
|
||||
arguments.testDumpOutputPath?.let { put(TEST_DUMP_OUTPUT_PATH, it) }
|
||||
put(PARTIAL_LINKAGE, arguments.partialLinkage)
|
||||
|
||||
+1
-15
@@ -105,24 +105,10 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
||||
@Argument(
|
||||
value = "-Xbundle-id",
|
||||
valueDescription = "<id>",
|
||||
description = "Bundle ID to be set in Info.plist of a produced framework"
|
||||
description = "Bundle ID to be set in Info.plist of a produced framework. Deprecated. Please use -Xbinary=bundleId=<id>."
|
||||
)
|
||||
var bundleId: String? = null
|
||||
|
||||
@Argument(
|
||||
value = "-Xbundle-short-version-string",
|
||||
valueDescription = "<short version string>",
|
||||
description = "Bundle short version string to be set in Info.plist of a produced framework"
|
||||
)
|
||||
var bundleShortVersionString: String? = null
|
||||
|
||||
@Argument(
|
||||
value = "-Xbundle-version",
|
||||
valueDescription = "<version>",
|
||||
description = "Bundle version to be set in Info.plist of a produced framework"
|
||||
)
|
||||
var bundleVersion: String? = null
|
||||
|
||||
@Argument(
|
||||
value = "-Xcache-directory",
|
||||
valueDescription = "<path>",
|
||||
|
||||
Reference in New Issue
Block a user