main.kotlin.org.jetbrains.bsp.protocol.BazelBuildServer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bazel-bsp Show documentation
Show all versions of bazel-bsp Show documentation
An implementation of the Build Server Protocol for Bazel. Allows clients such as IntelliJ to obtain build
specific
information in order to improve the experience of users in the IDE.
package org.jetbrains.bsp.protocol
import ch.epfl.scala.bsp4j.RunResult
import ch.epfl.scala.bsp4j.WorkspaceBuildTargetsResult
import org.eclipse.lsp4j.jsonrpc.services.JsonRequest
import java.util.concurrent.CompletableFuture
public interface BazelBuildServer {
@JsonRequest("workspace/libraries")
public fun workspaceLibraries(): CompletableFuture
@JsonRequest("workspace/goLibraries")
public fun workspaceGoLibraries(): CompletableFuture
/**
* Returns the list of all targets in the workspace that are neither modules nor libraries, but should be displayed in the UI.
*/
@JsonRequest("workspace/nonModuleTargets")
public fun workspaceNonModuleTargets(): CompletableFuture
@JsonRequest("workspace/directories")
public fun workspaceDirectories(): CompletableFuture
@JsonRequest("workspace/invalidTargets")
public fun workspaceInvalidTargets(): CompletableFuture
@JsonRequest("buildTarget/runWithDebug")
public fun buildTargetRunWithDebug(params: RunWithDebugParams): CompletableFuture
@JsonRequest("buildTarget/mobileInstall")
public fun buildTargetMobileInstall(params: MobileInstallParams): CompletableFuture
@JsonRequest("buildTarget/jvmBinaryJars")
public fun buildTargetJvmBinaryJars(params: JvmBinaryJarsParams): CompletableFuture
@JsonRequest("workspace/buildAndGetBuildTargets")
public fun workspaceBuildAndGetBuildTargets(): CompletableFuture
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy