Add -keep command line option to JS DCE tool
This commit is contained in:
+7
@@ -26,6 +26,13 @@ class K2JSDceArguments : CommonToolArguments() {
|
||||
@JvmField
|
||||
var outputDirectory: String? = null
|
||||
|
||||
@field:Argument(
|
||||
value = "-keep",
|
||||
valueDescription = "<fully.qualified.name[,]>",
|
||||
description = "List of fully-qualified names of declarations that shouldn't be eliminated")
|
||||
@JvmField
|
||||
var declarationsToKeep: Array<String>? = null
|
||||
|
||||
@field:GradleOption(DefaultValues.BooleanFalseDefault::class)
|
||||
@field:Argument(value = "-Xprint-reachability-info", description = "Print declarations marked as reachable")
|
||||
@JvmField
|
||||
|
||||
Reference in New Issue
Block a user