object BloopDefaults
- Alphabetic
- By Inheritance
- BloopDefaults
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class SbtMetadata(base: sbt.File, config: Sbt) extends Product with Serializable
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
- lazy val bloopConfigDir: sbt.Def.Initialize[Option[sbt.File]]
- def bloopCopyResourcesTask: sbt.Def.Initialize[Task[Seq[(File, File)]]]
- lazy val bloopGenerate: sbt.Def.Initialize[Task[Option[sbt.File]]]
- lazy val bloopInstall: sbt.Def.Initialize[Task[Unit]]
-
final
lazy val
bloopInternalDependencyClasspath: sbt.Def.Initialize[Task[Seq[(sbt.File, sbt.File)]]]
Emulates
dependencyClasspathwithout triggering compilation of dependent projects.Emulates
dependencyClasspathwithout 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. - lazy val bloopMainDependency: sbt.Def.Initialize[Seq[ClasspathDependency]]
- lazy val bloopTargetDir: sbt.Def.Initialize[sbt.File]
- lazy val buildSettings: Seq[sbt.Def.Setting[_]]
- def checksumFor(path: Path, algorithm: String): Option[Checksum]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- lazy val computeSbtMetadata: sbt.Def.Initialize[Task[Option[SbtMetadata]]]
- def configModules(report: sbt.UpdateReport): Seq[Module]
- lazy val configSettings: Seq[sbt.Def.Setting[_]]
-
lazy val
discoveredSbtPluginsSettings: Seq[sbt.Def.Setting[_]]
Replace the implementation of discovered sbt plugins so that we don't run it when we
bloopGenerateorbloopInstall.Replace the implementation of discovered sbt plugins so that we don't run it when we
bloopGenerateorbloopInstall. 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. -
lazy val
eligibleDepsFromConfig: sbt.Def.Initialize[Task[List[sbt.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
bloopGenerateexists for it. Otherwise, the configuration dependency is ignored.This is required to prevent transitive configurations like
Runtimefrom generating useless bloop configuration files and possibly incorrect project dependencies. For example, if we didn't do this then the dependencies ofIntegrationTestwould beprojectName-runtimeandprojectName-compile, whereas the following logic will return only the configurationCompileso that the use site of this function can create the project depprojectName-compile. - final lazy val emulateDependencyClasspath: sbt.Def.Initialize[Task[Seq[sbt.File]]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findNativelib(classpath: Seq[Path]): Option[Path]
Find nativelib jar on the classpath.
Find nativelib jar on the classpath. Copy pasted from Scala native.
- lazy val findOutPlatform: sbt.Def.Initialize[Task[Platform]]
- lazy val findOutScalaJsModuleKind: sbt.Def.Initialize[Option[String]]
- lazy val findOutScalaJsStage: sbt.Def.Initialize[Option[String]]
-
def
findVersion(deps: Seq[sbt.ModuleID], org: String): Option[String]
Find nativelib jar on the classpath.
Find nativelib jar on the classpath. Copy pasted from Scala native.
- lazy val generateBloopProductDirectories: sbt.Def.Initialize[sbt.File]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val globalSettings: Seq[sbt.Def.Setting[_]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
javaConfiguration: sbt.Def.Initialize[Task[JavaConfiguration]]
Extract the information that we need to configure forking for run or test.
- def managedResourceDirs: sbt.Def.Initialize[Seq[sbt.File]]
- def mergeModules(ms0: Seq[Module], ms1: Seq[Module]): Seq[Module]
- def nameFromDependency(dependency: ClasspathDependency, thisProject: ResolvedProject): String
-
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()
- def onlyCompilationModules(ms: Seq[Module], classpath: Array[Path]): Seq[Module]
-
def
projectDependencyName(dep: ClasspathDep[ProjectRef], configuration: sbt.Configuration, project: ResolvedProject, logger: sbt.Logger): 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.
- def projectNameFromString(name: String, configuration: sbt.Configuration): String
- lazy val projectSettings: Seq[sbt.Def.Setting[_]]
-
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.
- def pruneSources(sourceDirs: Seq[Path], sources: Seq[Path]): Seq[Path]
-
def
replaceScalacOptionsPaths(opts: Array[String], internalClasspath: Seq[(sbt.File, sbt.File)], logger: sbt.Logger): Array[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.
- def runCommandAndRemaining(command: String): (State) ⇒ State
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- lazy val updateClassifiers: sbt.Def.Initialize[Task[Option[sbt.UpdateReport]]]
-
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
- @native() @throws( ... )