From 18fef5f14ccd6c0c80630491a5719f1e58f43a17 Mon Sep 17 00:00:00 2001 From: Konrad `ktoso` Malawski Date: Tue, 14 Jul 2026 10:10:21 +0900 Subject: [PATCH] Remove explicit swift-docc-plugin dependency Nowadays (as weird as it is) projects are not expected to have the dependency declared explicitly. It must be added ad-hoc or by the swift package index. Otherwise all kinds of tools break, including swiftlang/docs. It would be ideal that all projects can just add the plugin, but that's not the state of the world nowadays. Meanwhile I did workarounds in adopter projects to unbreak swiftlang/docs building with those added, more details here https://github.com/swiftlang/swift-java/pull/845 cc @heckj --- Package.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Package.swift b/Package.swift index ea1bb67b..1e58db3b 100644 --- a/Package.swift +++ b/Package.swift @@ -9,14 +9,6 @@ var dep: [Package.Dependency] = [ from: "1.5.0" ) ] -#if !os(Windows) -dep.append( - .package( - url: "https://github.com/apple/swift-docc-plugin", - from: "1.4.5" - ), -) -#endif // Enable SubprocessFoundation by default let defaultTraits: Set = ["SubprocessFoundation"]