bloop.integrations.sbt

BloopDefaults

object BloopDefaults

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BloopDefaults
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class SbtMetadata(base: File, config: Sbt) extends Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. lazy val bloopConfigDir: sbt.Def.Initialize[Option[File]]

  8. lazy val bloopGenerate: sbt.Def.Initialize[Task[Option[File]]]

  9. lazy val bloopInstall: sbt.Def.Initialize[Task[Unit]]

  10. final lazy val bloopInternalDependencyClasspath: sbt.Def.Initialize[Task[Seq[(File, File)]]]

    Emulates dependencyClasspath without triggering compilation of dependent projects.

    Emulates dependencyClasspath without triggering compilation of dependent projects.

    Why do we do this instead of a simple productDirectories ++ libraryDependencies? We want the classpath to have the correct topological order of the project dependencies.

  11. lazy val bloopMainDependency: sbt.Def.Initialize[Seq[ClasspathDependency]]

  12. def bloopResourcesTask: sbt.Def.Initialize[Task[List[Path]]]

  13. lazy val bloopTargetDir: sbt.Def.Initialize[File]

  14. lazy val buildSettings: Seq[sbt.Def.Setting[_]]

  15. def checksumFor(path: Path, algorithm: String): Option[Checksum]

  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. lazy val computeSbtMetadata: sbt.Def.Initialize[Task[Option[SbtMetadata]]]

  18. def configModules(report: UpdateReport): Seq[Module]

  19. def configSettings: Seq[sbt.Def.Setting[_]]

    These config settings can be applied in configuration that have not yet been enabled in a project.

    These config settings can be applied in configuration that have not yet been enabled in a project. Therefore, their implementations must protect themselves fro depending on tasks that do not exist in the scope (which happens when the configuration is disabled but a task refers to it nonetheless). See an example in the definition of bloopInternalClasspath or the implementation of bloopGenerate.

  20. lazy val discoveredSbtPluginsSettings: Seq[sbt.Def.Setting[_]]

    Replace the implementation of discovered sbt plugins so that we don't run it when we bloopGenerate or bloopInstall.

    Replace the implementation of discovered sbt plugins so that we don't run it when we bloopGenerate or bloopInstall. This is important because when there are sbt plugins in the build they trigger the compilation of all the modules. We do no-op when there is indeed an sbt plugin in the build.

  21. lazy val eligibleDepsFromConfig: sbt.Def.Initialize[Task[List[Configuration]]]

    Detect the eligible configuration dependencies from a given configuration.

    Detect the eligible configuration dependencies from a given configuration.

    A configuration is elibile if the project defines it and bloopGenerate exists for it. Otherwise, the configuration dependency is ignored.

    This is required to prevent transitive configurations like Runtime from generating useless bloop configuration files and possibly incorrect project dependencies. For example, if we didn't do this then the dependencies of IntegrationTest would be projectName-runtime and projectName-compile, whereas the following logic will return only the configuration Compile so that the use site of this function can create the project dep projectName-compile.

  22. final lazy val emulateDependencyClasspath: sbt.Def.Initialize[Task[Seq[File]]]

  23. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def findNativelib(classpath: Seq[Path]): Option[Path]

    Find nativelib jar on the classpath.

    Find nativelib jar on the classpath. Copy pasted from Scala native.

  27. lazy val findOutPlatform: sbt.Def.Initialize[Task[Platform]]

  28. lazy val findOutScalaJsModuleKind: sbt.Def.Initialize[Option[String]]

  29. lazy val findOutScalaJsStage: sbt.Def.Initialize[Option[String]]

  30. def findVersion(deps: Seq[ModuleID], org: String): Option[String]

    Find nativelib jar on the classpath.

    Find nativelib jar on the classpath. Copy pasted from Scala native.

  31. lazy val generateBloopProductDirectories: sbt.Def.Initialize[File]

  32. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  33. lazy val globalSettings: Seq[sbt.Def.Setting[_]]

  34. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. val javaConfiguration: sbt.Def.Initialize[Task[(File, Seq[String])]]

    Extract the information that we need to configure forking for run or test.

  37. def mergeModules(ms0: Seq[Module], ms1: Seq[Module]): Seq[Module]

  38. def nameFromDependency(dependency: ClasspathDependency, thisProject: ResolvedProject): String

  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  42. def onlyCompilationModules(ms: Seq[Module], classpath: List[Path]): Seq[Module]

  43. def projectDependencyName(dep: ClasspathDep[ProjectRef], configuration: Configuration, project: ResolvedProject, activeProjectConfigurationNames: Seq[String], supportedConfigurationNames: Seq[String], data: Settings[Scope], logger: Logger): List[String]

    Creates a project name from a classpath dependency and its configuration.

    Creates a project name from a classpath dependency and its configuration.

    This function uses internal sbt utils (sbt.Classpaths) to parse configuration dependencies like sbt does and extract them. This parsing only supports compile and test, any kind of other dependency will be assumed to be test and will be reported to the user.

    Ref https://www.scala-sbt.org/1.x/docs/Library-Management.html#Configurations.

  44. def projectNameFromString(name: String, configuration: Configuration, logger: Logger): String

  45. lazy val projectSettings: Seq[sbt.Def.Setting[_]]

  46. def proxyForSetting(id: String, class: Class[_]): sbt.Def.Initialize[Option[AnyRef]]

    Create a "proxy" for a setting that will allow us to inspect its value even though its not accessed from the same classloader.

    Create a "proxy" for a setting that will allow us to inspect its value even though its not accessed from the same classloader. This is required to access Scala.js settings whose return type is Scala.js-specific and only lives in their classloader. Returns none if the key wasn't found with the id and type of class passed in.

  47. def pruneSources(sourceDirs: Seq[Path], sources: Seq[Path]): Seq[Path]

  48. def replaceScalacOptionsPaths(opts: List[String], internalClasspath: Seq[(File, File)], logger: Logger): List[String]

    Replace any old path that is used as a scalac option by the new path.

    Replace any old path that is used as a scalac option by the new path.

    This will make the code correct in the case sbt has references to the classes directory in the scalac option parameter.

  49. def runCommandAndRemaining(command: String): (State) ⇒ State

  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. lazy val updateClassifiers: sbt.Def.Initialize[Task[Option[UpdateReport]]]

  53. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped