дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 21:42:27 +02:00
Plugins had to run mvn dependency:tree / gradlew dependencies themselves or parse build files. A new build interface in wit/workspace.wit, build.dependencies(project, module), returns the graph the Dependency Analyzer has as a flat list of dependency-node records (group, artifact, version, scope, status, requested version, parent), each module a root, behind the low-risk build.read capability in trusted projects. Nothing is resolved by the call: Maven returns the trees cached by the last Reload (declared dependencies before one); Gradle dependency reports, which only lived in the frontend, are now saved per project and configuration in the build cache and dropped on a build-file change. Capped at 100,000 nodes per call. SDK: Project::build_dependencies with a mock; checked-in components rebuilt. Closes #3715 Co-authored-by: bertyhell <[email protected]>
13 рядки
291 B
TOML
13 рядки
291 B
TOML
id = "test.build-graph"
|
|
name = "Build dependency graph fixture"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.10"
|
|
wasm = "dist/plugin.wasm"
|
|
|
|
[capabilities]
|
|
optional = ["build.read"]
|
|
|
|
[[contributes.commands]]
|
|
id = "dependencies"
|
|
title = "List the dependency graph of a module, or of every module"
|