object autoImport
- Alphabetic
- By Inheritance
- autoImport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- val FastOptStage: FastOpt.type
- val FullOptStage: FullOpt.type
- val ModuleKind: linker.interface.ModuleKind.type
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val fastLinkJS: TaskKey[sbt.Attributed[Report]]
- val fastLinkJSOutput: TaskKey[sbt.File]
- val fastOptJS: TaskKey[sbt.Attributed[sbt.File]]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val fullLinkJS: TaskKey[sbt.Attributed[Report]]
- val fullLinkJSOutput: TaskKey[sbt.File]
- val fullOptJS: TaskKey[sbt.Attributed[sbt.File]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jsEnv: TaskKey[JSEnv]
- val jsEnvInput: TaskKey[Seq[Input]]
-
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
scalaJSClassNamesOnClasspath: TaskKey[Seq[String]]
All Scala.js class names on the fullClasspath, used by scalajsp.
- val scalaJSGlobalIRCache: TaskKey[IRFileCache]
-
val
scalaJSGlobalIRCacheBox: SettingKey[CacheBox[IRFileCache]]
A cache box for the global IR cache.
A cache box for the global IR cache.
- Note
**Unstable API**: this API is subject to backward incompatible changes in future minor versions of Scala.js.
- val scalaJSGlobalIRCacheConfig: SettingKey[IRFileCacheConfig]
- val scalaJSIR: TaskKey[sbt.Attributed[Seq[IRFile]]]
-
val
scalaJSIRCacheBox: SettingKey[CacheBox[Cache]]
A cache box for the IR found on a classpath.
A cache box for the IR found on a classpath.
- Note
**Unstable API**: this API is subject to backward incompatible changes in future minor versions of Scala.js.
- val scalaJSLinkedFile: TaskKey[sbt.Attributed[sbt.File]]
-
val
scalaJSLinker: TaskKey[ClearableLinker]
Instance of the Scala.js linker.
Instance of the Scala.js linker.
This task must be scoped per project, configuration, and stage task (
fastLinkJS
orfullLinkJS
).If a task uses the
link
method of theClearableLinker
, it must be protected from running in parallel with any other task doing the same thing, by tagging the task with the value of usesScalaJSLinkerTag in the same scope. The typical shape of such a task will be:Compile / fastLinkJS / myTask := Def.taskDyn { val linker = (Compile / fastLinkJS / scalaJSLinker).value val usesLinkerTag = (Compile / fastLinkJS / usesScalaJSLinkerTag).value // Read the `.value` of other settings and tasks here Def.task { // Do the actual work of the task here, in particular calling linker.link(...) }.tag(usesLinkerTag) }.value,
Do not set this value. Instead, set scalaJSLinkerImpl. This will automatically set up the correct caching behavior.
- Note
**Writing to this key is an unstable API**: the caching contracts are subject to backward incompatible changes in future minor versions of Scala.js.
-
val
scalaJSLinkerBox: SettingKey[CacheBox[ClearableLinker]]
A cache box for scalaJSLinker.
A cache box for scalaJSLinker.
- Note
**Unstable API**: this API is subject to backward incompatible changes in future minor versions of Scala.js.
- val scalaJSLinkerConfig: SettingKey[StandardConfig]
- val scalaJSLinkerConfigFingerprint: TaskKey[String]
-
val
scalaJSLinkerImpl: TaskKey[LinkerImpl]
Implementation of the Scala.js linker to use.
Implementation of the Scala.js linker to use.
By default, this is reflectively loading the standard linker implementation. Users may set this to provide custom linker implementations. In that case, they *must* store the linker impl in scalaJSLinkerImplBox.
- Note
**Unstable API**: this API is subject to backward incompatible changes in future minor versions of Scala.js.
-
val
scalaJSLinkerImplBox: SettingKey[CacheBox[LinkerImpl]]
A cache box for the scalaJSLinkerImpl.
A cache box for the scalaJSLinkerImpl.
- Note
**Unstable API**: this API is subject to backward incompatible changes in future minor versions of Scala.js.
- val scalaJSLinkerOutputDirectory: SettingKey[sbt.File]
- val scalaJSLinkerResult: TaskKey[sbt.Attributed[Report]]
-
val
scalaJSLoggerFactory: SettingKey[(sbt.Logger) ⇒ Logger]
Factory for logger (used to intercept timing in Scala.js core)
Factory for logger (used to intercept timing in Scala.js core)
- Note
**Unstable API**: this API is subject to backward incompatible changes in future minor versions of Scala.js.
- val scalaJSMainModuleInitializer: TaskKey[Option[ModuleInitializer]]
- val scalaJSModuleInitializers: TaskKey[Seq[ModuleInitializer]]
- val scalaJSModuleInitializersFingerprints: TaskKey[Seq[String]]
- val scalaJSModuleKind: AttributeKey[ModuleKind]
- val scalaJSSourceFiles: AttributeKey[Seq[sbt.File]]
- val scalaJSSourceMap: AttributeKey[sbt.File]
- val scalaJSStage: SettingKey[Stage]
- val scalaJSTestHTMLArtifactDirectory: SettingKey[sbt.File]
- val scalaJSUseMainModuleInitializer: SettingKey[Boolean]
- val scalaJSUseTestModuleInitializer: SettingKey[Boolean]
-
val
scalaJSVersion: String
The current version of the Scala.js sbt plugin and tool chain.
-
val
scalajsp: InputKey[Unit]
Prints the content of a .sjsir file in human readable form.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val testHtml: TaskKey[sbt.Attributed[sbt.File]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
usesScalaJSLinkerTag: SettingKey[Tag]
A tag to indicate that a task is using the value of scalaJSLinker and its
link
method.A tag to indicate that a task is using the value of scalaJSLinker and its
link
method.This setting's value should always be retrieved from the same scope than scalaJSLinker was retrieved from.
- See also
-
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()
-
object
ScalaJSTags
Declares
Tag
s which may be used to limit the concurrency of build tasks.Declares
Tag
s which may be used to limit the concurrency of build tasks.For example, the following snippet can be used to limit the number of linking tasks which are able to run at once:
Global / concurrentRestrictions += Tags.limit(ScalaJSTags.Link, 2)