@@ -131,6 +131,7 @@ public final class Target {
131
131
/// this enum will be extended as new plugin capabilities are added.
132
132
public enum PluginCapability {
133
133
case _buildTool
134
+ @available ( _PackageDescription, introduced: 999.0 )
134
135
case _command( intent: PluginCommandIntent , permissions: [ PluginPermission ] )
135
136
}
136
137
@@ -1015,7 +1016,7 @@ extension Target.PluginCapability {
1015
1016
/// Specifies that the plugin provides a user command capability. It will
1016
1017
/// be available to invoke manually on one or more targets in a package.
1017
1018
/// The package can specify the verb that is used to invoke the command.
1018
- @available ( _PackageDescription, introduced: 5.6 )
1019
+ @available ( _PackageDescription, introduced: 999.0 )
1019
1020
/// Plugins that specify a `command` capability define commands that can be run
1020
1021
/// using the SwiftPM CLI (`swift package <verb>`), or in an IDE that supports
1021
1022
/// Swift Packages.
@@ -1033,6 +1034,7 @@ extension Target.PluginCapability {
1033
1034
}
1034
1035
}
1035
1036
1037
+ @available ( _PackageDescription, introduced: 999.0 )
1036
1038
public enum PluginCommandIntent {
1037
1039
/// The intent of the command is to generate documentation, either by parsing the
1038
1040
/// package contents directly or by using the build system support for generating
@@ -1050,6 +1052,7 @@ public enum PluginCommandIntent {
1050
1052
case custom( verb: String , description: String )
1051
1053
}
1052
1054
1055
+ @available ( _PackageDescription, introduced: 999.0 )
1053
1056
public enum PluginPermission {
1054
1057
/// The custom command plugin requests permission to modify the files inside the
1055
1058
/// package directory. The `reason` string is shown to the user at the time of
0 commit comments