final class BuildTools extends AnyRef

Detects what build tool is used in this workspace.

Although we only support a limited set of build tools, knowing what build tool is used in the workspace helps to produce better errors for people using unsupported build tools. For example: "Gradle is not supported" instead of "Unsupported build tool".

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildTools
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BuildTools(workspace: io.AbsolutePath, bspGlobalDirectories: List[io.AbsolutePath], userConfig: () => UserConfiguration, explicitChoiceMade: () => Boolean, charset: Charset)

    bspGlobalDirectories

    Directories for user and system installed BSP connection details according to BSP spec: https://build-server-protocol.github.io/docs/server-discovery.html#default-locations-for-bsp-connection-files

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def all: List[String]
  5. def allAvailable: List[BuildTool]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bazelProject: Option[io.AbsolutePath]
  8. def bloopProject: Option[io.AbsolutePath]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. def current(): Set[BuildTool]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def gradleProject: Option[io.AbsolutePath]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def initialize(): Set[BuildTool]
  17. def isAutoConnectable(maybeProjectRoot: Option[io.AbsolutePath] = None): Boolean
  18. def isBazel: Boolean
  19. def isBazelBsp: Boolean
  20. def isBloop: Boolean
  21. def isBloop(root: io.AbsolutePath): Boolean
  22. def isBsp: Boolean
  23. def isBuildRelated(path: io.AbsolutePath): Option[String]
  24. def isEmpty: Boolean
  25. def isGradle: Boolean
  26. def isInBsp(path: io.AbsolutePath): Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isMaven: Boolean
  29. def isMill: Boolean
  30. def isMillBsp(path: io.AbsolutePath): Boolean
  31. def isSbt: Boolean
  32. def loadSupported(): List[BuildTool]
  33. def mavenProject: Option[io.AbsolutePath]
  34. def millProject: Option[io.AbsolutePath]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def newBuildTool(buildTool: String): Boolean
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  39. def sbtProject: Option[io.AbsolutePath]
  40. def scalaCliProject: Option[io.AbsolutePath]
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    BuildTools → AnyRef → Any
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped