@@ -119,7 +119,7 @@ public final class Target {
119
119
public let providers : [ SystemPackageProvider ] ?
120
120
121
121
/// The capability provided by a package plugin target.
122
- @available ( _PackageDescription, introduced: 5.6 )
122
+ @available ( _PackageDescription, introduced: 5.5 )
123
123
public var pluginCapability : PluginCapability ? {
124
124
get { return _pluginCapability }
125
125
set { _pluginCapability = newValue }
@@ -174,7 +174,7 @@ public final class Target {
174
174
private var _checksum : String ?
175
175
176
176
/// The usages of package plugins by the target.
177
- @available ( _PackageDescription, introduced: 5.6 )
177
+ @available ( _PackageDescription, introduced: 5.5 )
178
178
public var plugins : [ PluginUsage ] ? {
179
179
get { return _pluginUsages }
180
180
set { _pluginUsages = newValue }
@@ -394,7 +394,7 @@ public final class Target {
394
394
/// - cxxSettings: The C++ settings for this target.
395
395
/// - swiftSettings: The Swift settings for this target.
396
396
/// - linkerSettings: The linker settings for this target.
397
- @available ( _PackageDescription, introduced: 5.3 , obsoleted: 5.6 )
397
+ @available ( _PackageDescription, introduced: 5.3 , obsoleted: 5.5 )
398
398
public static func target(
399
399
name: String ,
400
400
dependencies: [ Dependency ] = [ ] ,
@@ -448,7 +448,7 @@ public final class Target {
448
448
/// - swiftSettings: The Swift settings for this target.
449
449
/// - linkerSettings: The linker settings for this target.
450
450
/// - plugins: The plugins used by this target.
451
- @available ( _PackageDescription, introduced: 5.6 )
451
+ @available ( _PackageDescription, introduced: 5.5 )
452
452
public static func target(
453
453
name: String ,
454
454
dependencies: [ Dependency ] = [ ] ,
@@ -504,7 +504,7 @@ public final class Target {
504
504
/// - cxxSettings: The C++ settings for this target.
505
505
/// - swiftSettings: The Swift settings for this target.
506
506
/// - linkerSettings: The linker settings for this target.
507
- @available ( _PackageDescription, introduced: 5.4 , obsoleted: 5.6 )
507
+ @available ( _PackageDescription, introduced: 5.4 , obsoleted: 5.5 )
508
508
public static func executableTarget(
509
509
name: String ,
510
510
dependencies: [ Dependency ] = [ ] ,
@@ -559,7 +559,7 @@ public final class Target {
559
559
/// - swiftSettings: The Swift settings for this target.
560
560
/// - linkerSettings: The linker settings for this target.
561
561
/// - plugins: The plugins used by this target.
562
- @available ( _PackageDescription, introduced: 5.6 )
562
+ @available ( _PackageDescription, introduced: 5.5 )
563
563
public static func executableTarget(
564
564
name: String ,
565
565
dependencies: [ Dependency ] = [ ] ,
@@ -694,7 +694,7 @@ public final class Target {
694
694
/// - cxxSettings: The C++ settings for this target.
695
695
/// - swiftSettings: The Swift settings for this target.
696
696
/// - linkerSettings: The linker settings for this target.
697
- @available ( _PackageDescription, introduced: 5.3 , obsoleted: 5.6 )
697
+ @available ( _PackageDescription, introduced: 5.3 , obsoleted: 5.5 )
698
698
public static func testTarget(
699
699
name: String ,
700
700
dependencies: [ Dependency ] = [ ] ,
@@ -745,7 +745,7 @@ public final class Target {
745
745
/// - swiftSettings: The Swift settings for this target.
746
746
/// - linkerSettings: The linker settings for this target.
747
747
/// - plugins: The plugins used by this target.
748
- @available ( _PackageDescription, introduced: 5.6 )
748
+ @available ( _PackageDescription, introduced: 5.5 )
749
749
public static func testTarget(
750
750
name: String ,
751
751
dependencies: [ Dependency ] = [ ] ,
@@ -896,7 +896,7 @@ public final class Target {
896
896
/// on executables as well as binary targets. This is because of limitations
897
897
/// in how SwiftPM constructs its build plan, and the goal is to remove this
898
898
/// restriction in a future release.
899
- @available ( _PackageDescription, introduced: 5.6 )
899
+ @available ( _PackageDescription, introduced: 5.5 )
900
900
public static func plugin(
901
901
name: String ,
902
902
capability: PluginCapability ,
@@ -1006,7 +1006,7 @@ extension Target.PluginCapability {
1006
1006
/// Specifies that the plugin provides a build tool capability. The plugin
1007
1007
/// will be applied to each target that uses it and should create commands
1008
1008
/// that will run before or during the build of the target.
1009
- @available ( _PackageDescription, introduced: 5.6 )
1009
+ @available ( _PackageDescription, introduced: 5.5 )
1010
1010
public static func buildTool( ) -> Target . PluginCapability {
1011
1011
return . _buildTool
1012
1012
}
@@ -1017,7 +1017,7 @@ extension Target.PluginUsage {
1017
1017
///
1018
1018
/// - parameters:
1019
1019
/// - name: The name of the plugin target.
1020
- @available ( _PackageDescription, introduced: 5.6 )
1020
+ @available ( _PackageDescription, introduced: 5.5 )
1021
1021
public static func plugin( name: String ) -> Target . PluginUsage {
1022
1022
return . _pluginItem( name: name, package : nil )
1023
1023
}
@@ -1027,7 +1027,7 @@ extension Target.PluginUsage {
1027
1027
/// - parameters:
1028
1028
/// - name: The name of the plugin product.
1029
1029
/// - package: The name of the package in which it is defined.
1030
- @available ( _PackageDescription, introduced: 5.6 )
1030
+ @available ( _PackageDescription, introduced: 5.5 )
1031
1031
public static func plugin( name: String , package : String ) -> Target . PluginUsage {
1032
1032
return . _pluginItem( name: name, package : package )
1033
1033
}
0 commit comments