org.scalajs.sbtplugin.ScalaJSPlugin

AutoImport

object AutoImport extends DependencyBuilders with CrossProjectExtra

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

Type Members

  1. implicit class JSModuleIDBuilder extends AnyRef

    Builder to allow declarations like:

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. val CrossType: cross.CrossType.type

  7. val FastOptStage: FastOpt.type

  8. val FullOptStage: FullOpt.type

  9. val ModuleKind: core.tools.linker.backend.ModuleKind.type

  10. def PhantomJSEnv(): sbt.Def.Initialize[Task[PhantomJSEnv]]

    Creates a Def.Initialize for a PhantomJSEnv with the default configuration.

    Creates a Def.Initialize for a PhantomJSEnv with the default configuration.

    This is equivalent to

    PhantomJSEnv(org.scalajs.jsenv.phantomjs.PhantomJSEnv.Config())
  11. def PhantomJSEnv(config: Config): sbt.Def.Initialize[Task[PhantomJSEnv]]

    Creates a Def.Initialize for a PhantomJSEnv.

    Creates a Def.Initialize for a PhantomJSEnv.

    Use this to explicitly specify in your build that you would like to run with PhantomJS:

    jsEnv := PhantomJSEnv(...).value

    The specified Config is augmented with an appropriate Jetty class loader (through withJettyClassLoader).

    Note that the resulting Setting is not scoped at all, but must be scoped in a project that has the ScalaJSPlugin enabled to work properly. Therefore, either put the upper line in your project settings (common case) or scope it manually, using Project.inScope.

  12. object ProvidedJS

    Builder to allow declarations like:

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. val checkScalaJSSemantics: SettingKey[Boolean]

  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. implicit def crossClasspathDependency(cp: CrossProject): CrossClasspathDependency

    Definition Classes
    CrossProjectExtra
  17. implicit def crossClasspathDependencyConstructor(cp: CrossProject): Constructor

    Definition Classes
    CrossProjectExtra
  18. def crossProject: Builder

    Definition Classes
    CrossProjectExtra
    Annotations
    @macroImpl( ... )
  19. implicit def crossProjectFromBuilder(builder: Builder): CrossProject

    Definition Classes
    CrossProjectExtra
  20. val emitSourceMaps: SettingKey[Boolean]

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

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

    Definition Classes
    AnyRef → Any
  23. val fastOptJS: TaskKey[Attributed[File]]

  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. val fullOptJS: TaskKey[Attributed[File]]

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

    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

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

    Definition Classes
    Any
  29. val isScalaJSProject: SettingKey[Boolean]

  30. val jsDependencies: SettingKey[Seq[AbstractJSDep]]

  31. val jsDependencyFilter: SettingKey[(Traversable[FlatJSDependency]) ⇒ Traversable[FlatJSDependency]]

  32. val jsDependencyManifest: TaskKey[File]

  33. val jsDependencyManifests: TaskKey[Attributed[Traversable[JSDependencyManifest]]]

  34. val jsEnv: TaskKey[JSEnv]

  35. val jsManifestFilter: SettingKey[(Traversable[JSDependencyManifest]) ⇒ Traversable[JSDependencyManifest]]

  36. val loadedJSEnv: TaskKey[JSEnv]

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

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

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

    Definition Classes
    AnyRef
  40. val packageJSDependencies: TaskKey[File]

  41. val packageMinifiedJSDependencies: TaskKey[File]

  42. val relativeSourceMaps: SettingKey[Boolean]

  43. val resolvedJSDependencies: TaskKey[Attributed[Seq[ResolvedJSDependency]]]

  44. val resolvedJSEnv: TaskKey[JSEnv]

  45. val scalaJSBinaryVersion: String

  46. val scalaJSConfigurationLibs: TaskKey[Seq[ResolvedJSDependency]]

  47. val scalaJSConsole: TaskKey[JSConsole]

  48. val scalaJSIR: TaskKey[Attributed[Seq[VirtualScalaJSIRFile with RelativeVirtualFile]]]

  49. lazy val scalaJSIRCache: TaskKey[Cache]

  50. val scalaJSIsSnapshotVersion: Boolean

  51. val scalaJSJavaSystemProperties: TaskKey[Map[String, String]]

  52. val scalaJSLinkedFile: TaskKey[VirtualJSFile]

  53. val scalaJSLinker: SettingKey[ClearableLinker]

    Persisted instance of the Scala.

    Persisted instance of the Scala.js linker.

    This setting must be scoped per project, configuration, and stage task (fastOptJS or fullOptJS).

    If a task uses the link method of the ClearableLinker, 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:

    myTask in (Compile, fastOptJS) := Def.taskDyn {
      val linker = (scalaJSLinker in (Compile, fastOptJS)).value
      val usesLinkerTag = (usesScalaJSLinkerTag in (Compile, fastOptJS)).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,
  54. val scalaJSLinkerConfig: SettingKey[Config]

  55. val scalaJSMainModuleInitializer: TaskKey[Option[ModuleInitializer]]

  56. val scalaJSModuleInitializers: TaskKey[Seq[ModuleInitializer]]

  57. val scalaJSModuleKind: SettingKey[ModuleKind]

  58. val scalaJSNativeLibraries: TaskKey[Attributed[Seq[VirtualJSFile with RelativeVirtualFile]]]

  59. val scalaJSOptimizerOptions: SettingKey[OptimizerOptions]

  60. val scalaJSOutputMode: SettingKey[OutputMode]

  61. val scalaJSPhantomJSClassLoader: TaskKey[ClassLoader]

    Class loader for PhantomJSEnv.

    Class loader for PhantomJSEnv. Used to load jetty8.

  62. val scalaJSSemantics: SettingKey[Semantics]

  63. val scalaJSSourceFiles: AttributeKey[Seq[File]]

  64. val scalaJSSourceMap: AttributeKey[File]

  65. val scalaJSStage: SettingKey[Stage]

  66. val scalaJSUseMainModuleInitializer: SettingKey[Boolean]

  67. val scalaJSVersion: String

  68. val scalajsp: InputKey[Unit]

    Prints the content of a .

    Prints the content of a .sjsir file in human readable form.

  69. val sjsirFilesOnClasspath: TaskKey[Seq[String]]

    All .

    All .sjsir files on the fullClasspath, used by scalajsp.

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

    Definition Classes
    AnyRef
  71. val testHtmlFastOpt: TaskKey[Attributed[File]]

  72. val testHtmlFullOpt: TaskKey[Attributed[File]]

  73. implicit final def toScalaJSGroupID(groupID: String): ScalaJSGroupID

    Definition Classes
    DependencyBuilders
  74. def toString(): String

    Definition Classes
    AnyRef → Any
  75. 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

    scalaJSLinker

  76. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def JSDOMNodeJSEnv(executable: String = "node", args: Seq[String] = Seq.empty, env: Map[String, String] = Map.empty): sbt.Def.Initialize[Task[JSDOMNodeJSEnv]]

    Creates a Def.Initialize for a JSDOMNodeJSEnv.

    Creates a Def.Initialize for a JSDOMNodeJSEnv. Use this to explicitly specify in your build that you would like to run with Node.js on a JSDOM window:

    jsEnv := JSDOMNodeJSEnv().value

    Note that the resulting Setting is not scoped at all, but must be scoped in a project that has the ScalaJSPlugin enabled to work properly. Therefore, either put the upper line in your project settings (common case) or scope it manually, using Project.inScope.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.16)

  2. def NodeJSEnv(executable: String = "node", args: Seq[String] = Seq.empty, env: Map[String, String] = Map.empty): sbt.Def.Initialize[Task[NodeJSEnv]]

    Creates a Def.Initialize for a NodeJSEnv.

    Creates a Def.Initialize for a NodeJSEnv. Use this to explicitly specify in your build that you would like to run with Node.js:

    jsEnv := NodeJSEnv().value

    Note that the resulting Setting is not scoped at all, but must be scoped in a project that has the ScalaJSPlugin enabled to work properly. Therefore, either put the upper line in your project settings (common case) or scope it manually, using Project.inScope.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.16) Use jsEnv := new org.scalajs.jsenv.nodejs.NodeJSEnv(...) instead.

  3. def PhantomJSEnv(executable: String = "phantomjs", args: Seq[String] = Seq.empty, env: Map[String, String] = Map.empty, autoExit: Boolean = true): sbt.Def.Initialize[Task[PhantomJSEnv]]

    Creates a Def.Initialize for a PhantomJSEnv.

    Creates a Def.Initialize for a PhantomJSEnv.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.20) Use the overload with a PhantomJSEnv.Config.

  4. val PreLinkStage: FastOpt.type

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.6) Use FastOptStage instead

  5. def RhinoJSEnv(): sbt.Def.Initialize[Task[RhinoJSEnv]]

    Creates a Def.Initialize for a RhinoJSEnv.

    Creates a Def.Initialize for a RhinoJSEnv.

    Use this to explicitly specify in your build that you would like to run with Rhino:

    Seq(Compile, Test).flatMap(c => inConfig(c)(jsEnv := RhinoJSEnv().value))

    The Rhino JS environment will support DOM through env.js if and only if scalaJSRequestsDOM.value evaluates to true.

    Note that the resulting Setting must be scoped in a project that has the ScalaJSPlugin enabled to work properly. Therefore, either put the upper line in your project settings (common case) or scope it manually, using Project.inScope.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.13)

  6. val RuntimeDOM: RuntimeDOMDep

    Dummy builder to allow declaractions like:

    Dummy builder to allow declaractions like:

    RuntimeDOM % "test"
    Definition Classes
    DependencyBuilders
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.20)

  7. val packageScalaJSLauncher: TaskKey[Attributed[File]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.15)

  8. val persistLauncher: SettingKey[Boolean]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.15)

  9. val postLinkJSEnv: TaskKey[JSEnv]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.6) Use jsEnv instead.

  10. val preLinkJSEnv: TaskKey[JSEnv]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.6) Use jsEnv instead.

  11. val requiresDOM: SettingKey[Boolean]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.20)

  12. val scalaJSLauncher: TaskKey[Attributed[VirtualJSFile]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.15)

  13. val scalaJSOutputWrapper: SettingKey[(String, String)]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.15)

  14. val scalaJSUseRhino: SettingKey[Boolean]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.13)

Inherited from CrossProjectExtra

Inherited from DependencyBuilders

Inherited from AnyRef

Inherited from Any

Ungrouped