From 023d3ba2c5b9fec3b5a0d1d3e23e235993dbaf62 Mon Sep 17 00:00:00 2001 From: eugene yokota Date: Sun, 22 Mar 2026 02:15:37 -0400 Subject: [PATCH] [2.0.x] Hide projectDescriptors (#8959) **Problem** projectDescriptors key depends on Ivy, and will be removed. **Solution** This hides the key in 2.0.x branch. --- main/src/main/scala/sbt/Keys.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/scala/sbt/Keys.scala b/main/src/main/scala/sbt/Keys.scala index 74f169a24..1eeba4aef 100644 --- a/main/src/main/scala/sbt/Keys.scala +++ b/main/src/main/scala/sbt/Keys.scala @@ -638,7 +638,7 @@ object Keys { @transient val publishTo = taskKey[Option[Resolver]]("The resolver to publish to.").withRank(ASetting) val artifacts = settingKey[Seq[Artifact]]("The artifact definitions for the current module. Must be consistent with " + packagedArtifacts.key.label + ".").withRank(BSetting) - val projectDescriptors = taskKey[Map[ModuleRevisionId, ModuleDescriptor]]("Project dependency map for the inter-project resolver.").withRank(DTask) + private[sbt] val projectDescriptors = taskKey[Map[ModuleRevisionId, ModuleDescriptor]]("Project dependency map for the inter-project resolver.").withRank(DTask) val autoUpdate = settingKey[Boolean]("").withRank(Invisible) val retrieveManaged = settingKey[Boolean]("If true, enables retrieving dependencies to the current build. Otherwise, dependencies are used directly from the cache.").withRank(BSetting) val retrieveManagedSync = settingKey[Boolean]("If true, enables synchronizing the dependencies retrieved to the current build by removed unneeded files.").withRank(BSetting)