in extractor/src/main/scala-sbt-2/org/jetbrains/sbt/extractors/DependenciesExtractorCompat.scala [15:26]
def modulesIn(configuration: SbtConfiguration, externalDependencyClasspath: Option[SbtConfiguration => Keys.Classpath]): Seq[ModuleIdentifier] =
for {
classpathFn <- externalDependencyClasspath.toSeq
entry <- classpathFn(configuration)
moduleIdStr <- entry.get(sbt.Keys.moduleIDStr).toSeq
artifactStr <- entry.get(sbt.Keys.artifactStr).toSeq
moduleId = moduleIdJsonKeyFormat.read(moduleIdStr)
artifact = artifactFromStr(artifactStr)
identifier <- createModuleIdentifiers(moduleId, Seq(artifact))
} yield {
identifier
}