[Native] Warn on any usage of -repo CLI option
^KT-61098
This commit is contained in:
committed by
Space Team
parent
0b253dc815
commit
b1c9791404
+3
-1
@@ -55,7 +55,9 @@ open class CommonInteropArguments(val argParser: ArgParser) {
|
||||
ArgType.String,
|
||||
shortName = "r",
|
||||
description = "repository to resolve dependencies",
|
||||
deprecatedWarning = "This option is deprecated and will be removed in one of the future releases. Please use library paths instead of library names in all options such as '-library'"
|
||||
// Use the name of the option directly in the deprecation message. This message is automatically printed to the console
|
||||
// if the option has been specified. Without option name in the message it would be unclear which exactly option is deprecated.
|
||||
deprecatedWarning = "'-repo' ('-r') option is deprecated and will be removed in one of the future releases. Please use library paths instead of library names in all options such as '-library' ('-l')."
|
||||
).multiple()
|
||||
val nodefaultlibs by argParser.option(ArgType.Boolean, NODEFAULTLIBS,
|
||||
description = "don't link the libraries from dist/klib automatically").default(false)
|
||||
|
||||
Reference in New Issue
Block a user