case class SbtBuildTool(workspaceVersion: Option[String], userConfig: () ⇒ UserConfiguration) extends BuildTool with BloopInstallProvider with BuildServerProvider with Product with Serializable
- Alphabetic
- By Inheritance
- SbtBuildTool
- Serializable
- Serializable
- Product
- Equals
- BuildServerProvider
- BloopInstallProvider
- BuildTool
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SbtBuildTool(workspaceVersion: Option[String], userConfig: () ⇒ UserConfiguration)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bloopInstall(workspace: io.AbsolutePath, languageClient: MetalsLanguageClient, systemProcess: (List[String]) ⇒ Future[WorkspaceLoadedStatus]): Future[WorkspaceLoadedStatus]
Method used to generate the necesary .bloop files for the build tool.
Method used to generate the necesary .bloop files for the build tool.
- Definition Classes
- BloopInstallProvider
-
def
bloopInstallArgs(workspace: io.AbsolutePath): List[String]
Args necessary for build tool to generate the .bloop files.
Args necessary for build tool to generate the .bloop files.
- Definition Classes
- SbtBuildTool → BloopInstallProvider
-
def
buildServerName: Option[String]
Name of the build server if different than the actual build-tool that is serving as a build server.
Name of the build server if different than the actual build-tool that is serving as a build server.
Ex. mill isn't mill, but rather mill-bsp
- Definition Classes
- BuildServerProvider
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createBspFileArgs(workspace: io.AbsolutePath): List[String]
Args necessary for build tool to generate the bsp config file.
Args necessary for build tool to generate the bsp config file.
- Definition Classes
- SbtBuildTool → BuildServerProvider
-
def
digest(workspace: io.AbsolutePath): Option[String]
- Definition Classes
- SbtBuildTool → BuildTool
-
def
embeddedSbtLauncher(outDir: Path): io.AbsolutePath
Returns path to a local copy of sbt-launch.jar.
Returns path to a local copy of sbt-launch.jar.
We use embedded sbt-launch.jar instead of user
sbtcommand because we can't rely onsbtresolving correctly when using system processes, at least it failed on Windows when I tried it. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
executableName: String
- Definition Classes
- SbtBuildTool → BuildTool
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateBspConfig(workspace: io.AbsolutePath, systemProcess: (List[String]) ⇒ Future[BspConfigGenerationStatus]): Future[BspConfigGenerationStatus]
Method used to generate a bsp config file for the build tool if one doesn't exist yet.
Method used to generate a bsp config file for the build tool if one doesn't exist yet.
- Definition Classes
- BuildServerProvider
-
def
getBuildServerName: String
- Definition Classes
- BuildServerProvider
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
minimumVersion: String
- Definition Classes
- SbtBuildTool → BuildTool
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
recommendedVersion: String
- Definition Classes
- SbtBuildTool → BuildTool
-
def
redirectErrorOutput: Boolean
- Definition Classes
- BuildTool
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
tempDir: Path
- Attributes
- protected
- Definition Classes
- BuildTool
-
def
toString(): String
- Definition Classes
- SbtBuildTool → AnyRef → Any
- val userConfig: () ⇒ UserConfiguration
-
def
version: String
- Definition Classes
- SbtBuildTool → BuildTool
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
workspaceSupportsBsp(workspace: io.AbsolutePath): Boolean
Whether or not the build tool workspace supports BSP.
Whether or not the build tool workspace supports BSP. Many times this is limited by the version of the build tool that introduces BSP support.
- Definition Classes
- SbtBuildTool → BuildServerProvider
- val workspaceVersion: Option[String]