Packages

o

sbt

Defaults

object Defaults extends BuildCommon

Linear Supertypes
BuildCommon, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Defaults
  2. BuildCommon
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class RichAttributed extends AnyRef
    Definition Classes
    BuildCommon
  2. final class RichFiles extends AnyRef
    Definition Classes
    BuildCommon
  3. final class RichPathFinder extends AnyRef
    Definition Classes
    BuildCommon

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. final val CacheDirectoryName: String("cache")
  5. val CompletionsID: String
  6. lazy val ConfigGlobal: Scope
  7. lazy val ConfigZero: Scope

    A scope whose configuration axis is set to Zero.

  8. lazy val TaskGlobal: Scope
  9. lazy val TaskZero: Scope

    A scope whose task axis is set to Zero.

  10. def addBaseSources: Seq[Def.Setting[Task[Seq[File]]]]
  11. def analysisMap[T](cp: Seq[Attributed[T]]): (T) ⇒ Option[CompileAnalysis]
  12. def artifactPathSetting(art: SettingKey[Artifact]): Def.Initialize[File]
  13. def artifactSetting: Def.Initialize[Artifact]
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def askForMainClass(classes: Seq[String]): Option[String]
  16. lazy val baseTasks: Seq[Def.Setting[_]]
  17. def bgRunMainTask(products: Def.Initialize[Task[Classpath]], classpath: Def.Initialize[Task[Classpath]], copyClasspath: Def.Initialize[Boolean], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[JobHandle]]
  18. def bgRunTask(products: Def.Initialize[Task[Classpath]], classpath: Def.Initialize[Task[Classpath]], mainClassTask: Def.Initialize[Task[Option[String]]], copyClasspath: Def.Initialize[Boolean], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[JobHandle]]
  19. def bgStopTask: Def.Initialize[InputTask[Unit]]
  20. def bgWaitForTask: Def.Initialize[InputTask[Unit]]
  21. def buildCore: Seq[Def.Setting[_]]
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. def collectFiles(dirs: ScopedTaskable[Seq[File]], filter: ScopedTaskable[FileFilter], excludes: ScopedTaskable[FileFilter]): Def.Initialize[Task[Seq[File]]]
  24. def collectFiles(dirs: Taskable[Seq[File]], filter: Taskable[FileFilter], excludes: Taskable[FileFilter]): Def.Initialize[Task[Seq[File]]]
  25. def compileAnalysisSettings: Seq[Def.Setting[_]]
  26. def compileBase: Seq[Def.Setting[_]]
  27. def compileIncSetupTask: Def.Initialize[Task[Setup]]
  28. def compileIncrementalTask: Def.Initialize[Task[CompileResult]]
  29. def compileInputsSettings(classpathTask: TaskKey[VirtualClasspath]): Seq[Def.Setting[_]]
  30. def compileInputsSettings: Seq[Def.Setting[_]]
  31. lazy val compileSettings: Seq[Def.Setting[_]]
  32. def compileTask: Def.Initialize[Task[CompileAnalysis]]
  33. def compilersSetting: Def.Setting[Task[Compilers]]
  34. def concatMappings(as: Mappings, bs: Mappings): Def.Initialize[Task[Seq[(File, String)]]]
  35. lazy val configPaths: Seq[Def.Setting[_]]
  36. lazy val configSettings: Seq[Def.Setting[_]]
  37. def configSrcSub(key: SettingKey[File]): Def.Initialize[File]
  38. lazy val configTasks: Seq[Def.Setting[_]]
  39. def consoleProjectTask: Def.Initialize[Task[Unit]]
  40. def consoleQuickTask: Def.Initialize[Task[Unit]]
  41. def consoleTask(classpath: TaskKey[Classpath], task: TaskKey[_]): Def.Initialize[Task[Unit]]
  42. def consoleTask: Def.Initialize[Task[Unit]]
  43. def copyResourcesTask: Def.Initialize[Task[Seq[(File, File)]]]
  44. lazy val coreDefaultSettings: Seq[Def.Setting[_]]
  45. def createTestRunners(frameworks: Map[TestFramework, Framework], loader: ClassLoader, config: Execution): Map[TestFramework, Runner]
  46. def defaultCompileSettings: Seq[Def.Setting[_]]
  47. lazy val defaultConfigs: Seq[Def.Setting[_]]
  48. def defaultRestrictions: Def.Initialize[Seq[Rule]]
  49. def defaultTestTasks(key: Scoped): Seq[Def.Setting[_]]
  50. def dependencyResolutionTask: Def.Initialize[Task[DependencyResolution]]
  51. lazy val deprecationSettings: Seq[Def.Setting[_]]
  52. def detectTests: Def.Initialize[Task[Seq[TestDefinition]]]
  53. def disableAggregate(k: Scoped): Def.Setting[Boolean]
  54. lazy val disableAggregation: Seq[Def.Setting[_]]
  55. def discoverMainClasses(analysis: CompileAnalysis): Seq[String]
  56. def discoverSbtPluginNames: Def.Initialize[Task[DiscoveredNames]]
  57. def docTaskSettings(key: TaskKey[File] = doc): Seq[Def.Setting[_]]
  58. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  60. def extractAnalysis[T](a: Attributed[T]): (T, CompileAnalysis)
  61. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  62. def foregroundRunMainTask: Def.Initialize[InputTask[Unit]]
  63. def foregroundRunTask: Def.Initialize[InputTask[Unit]]
  64. def forkOptionsTask: Def.Initialize[Task[ForkOptions]]
  65. def generate(generators: SettingKey[Seq[Task[Seq[File]]]]): Def.Initialize[Task[Seq[File]]]
  66. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  67. def getForParser[P, T](task: TaskKey[T])(init: (State, Option[T]) ⇒ Parser[P]): Def.Initialize[(State) ⇒ Parser[P]]
    Definition Classes
    BuildCommon
  68. def getForParserI[P, T](task: TaskKey[T])(init: Def.Initialize[(State, Option[T]) ⇒ Parser[P]]): Def.Initialize[(State) ⇒ Parser[P]]
    Definition Classes
    BuildCommon
  69. def getFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State): Option[T]
    Definition Classes
    BuildCommon
  70. def getPrevious[T](task: TaskKey[T]): Def.Initialize[Task[Option[T]]]
    Definition Classes
    BuildCommon
  71. implicit def globFilter(expression: String): NameFilter

    Allows a String to be used where a NameFilter is expected.

    Allows a String to be used where a NameFilter is expected. Asterisks (*) in the string are interpreted as wildcards. All other characters must match exactly. See GlobFilter.

    Definition Classes
    BuildCommon
  72. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  73. def inputTests(key: InputKey[_]): Def.Initialize[InputTask[Unit]]
    Annotations
    @nowarn()
  74. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  75. def loadForParser[P, T](task: TaskKey[T])(f: (State, Option[T]) ⇒ Parser[P])(implicit format: JsonFormat[T]): Def.Initialize[(State) ⇒ Parser[P]]
    Definition Classes
    BuildCommon
  76. def loadForParserI[P, T](task: TaskKey[T])(init: Def.Initialize[(State, Option[T]) ⇒ Parser[P]])(implicit format: JsonFormat[T]): Def.Initialize[(State) ⇒ Parser[P]]
    Definition Classes
    BuildCommon
  77. def loadFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State)(implicit f: JsonFormat[T]): Option[T]
    Definition Classes
    BuildCommon
  78. def loadPrevious[T](task: TaskKey[T])(implicit f: JsonFormat[T]): Def.Initialize[Task[Option[T]]]
    Definition Classes
    BuildCommon
  79. def lock(app: AppConfiguration): GlobalLock
  80. def mainBgRunMainTask: Def.Setting[InputTask[JobHandle]]
  81. def mainBgRunTask: Def.Setting[InputTask[JobHandle]]
  82. def makeCrossSources(scalaSrcDir: File, javaSrcDir: File, sv: String, cross: Boolean): Seq[File]
  83. def makeCrossSources(scalaSrcDir: File, javaSrcDir: File, sv: String, epochVersion: String, cross: Boolean): Seq[File]
  84. def makeCrossTarget(t: File, scalaVersion: String, scalaBinaryVersion: String, sbtv: String, plugin: Boolean, cross: Boolean): File
  85. def makePluginCrossSources(isPlugin: Boolean, scalaSrcDir: File, sbtBinaryV: String, cross: Boolean): Seq[File]
  86. def makeScalaInstance(version: String, libraryJars: Array[File], allCompilerJars: Seq[File], allDocJars: Seq[File], state: State, topLoader: ClassLoader): ScalaInstance
  87. def nameForSrc(config: String): String
  88. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  89. def noAggregation: Seq[Scoped]
  90. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  91. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  92. lazy val outputConfigPaths: Seq[Def.Setting[_]]
  93. def overrideConfigs(cs: Configuration*)(configurations: Seq[Configuration]): Seq[Configuration]
    Definition Classes
    BuildCommon
  94. lazy val packageBase: Seq[Def.Setting[_]]
  95. def packageBinMappings: Def.Initialize[Task[Seq[(File, String)]]]
  96. lazy val packageConfig: Seq[Def.Setting[_]]
  97. def packageConfigurationTask: Def.Initialize[Task[Configuration]]
  98. def packageDocMappings: Def.Initialize[Task[Seq[(File, String)]]]
  99. def packageSrcMappings: Def.Initialize[Task[Seq[(File, String)]]]
  100. def packageTask: Def.Initialize[Task[File]]
  101. def packageTaskSettings(key: TaskKey[File], mappingsTask: Def.Initialize[Task[Seq[(File, String)]]]): Seq[Def.Setting[_]]
  102. def paths: Seq[Def.Setting[_]]
  103. def pickMainClass(classes: Seq[String]): Option[String]
  104. def prefix(config: String): String
  105. def printWarningsTask: Def.Initialize[Task[Unit]]
  106. def projectCore: Seq[Def.Setting[_]]
  107. lazy val projectTasks: Seq[Def.Setting[_]]
  108. def psTask: Def.Initialize[Task[Seq[JobHandle]]]
  109. def relativeMappings(files: ScopedTaskable[Seq[File]], dirs: ScopedTaskable[Seq[File]]): Def.Initialize[Task[Seq[(File, String)]]]
  110. def relativeMappings(files: Taskable[Seq[File]], dirs: Taskable[Seq[File]]): Def.Initialize[Task[Seq[(File, String)]]]
  111. lazy val resourceConfigPaths: Seq[Def.Setting[_ >: Seq[Task[Seq[File]]] with Task[Seq[File]] with Seq[Glob] with Seq[File] with File <: AnyRef]]
  112. def resourceMappings: Def.Initialize[Task[Seq[(File, String)]]]
  113. implicit def richAttributed(s: Seq[Attributed[File]]): RichAttributed
    Definition Classes
    BuildCommon
  114. implicit def richFiles(s: Seq[File]): RichFiles
    Definition Classes
    BuildCommon
  115. implicit def richPathFinder(s: PathFinder): RichPathFinder
    Definition Classes
    BuildCommon
  116. def runLocalTemplate(arguments: Seq[String], log: Logger): Unit
  117. def runMainParser: (State, Seq[String]) ⇒ Parser[(String, Seq[String])]
  118. def runMainTask(classpath: Def.Initialize[Task[Classpath]], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[Unit]]
  119. def runTask(classpath: Def.Initialize[Task[Classpath]], mainClassTask: Def.Initialize[Task[Option[String]]], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[Unit]]
  120. def runnerInit: Def.Initialize[Task[ScalaRun]]
  121. lazy val runnerSettings: Seq[Def.Setting[_]]
  122. def runnerTask: Def.Setting[Task[ScalaRun]]
  123. def sbtPluginExtra(m: ModuleID, sbtV: String, scalaV: String): ModuleID
  124. def scalaInstanceFromHome(dir: File): Def.Initialize[Task[ScalaInstance]]
  125. def scalaInstanceFromUpdate: Def.Initialize[Task[ScalaInstance]]
  126. def scalaInstanceTask: Def.Initialize[Task[ScalaInstance]]
  127. def selectedFilter(args: Seq[String]): Seq[(String) ⇒ Boolean]
  128. def singleTestGroup(key: Scoped): Def.Initialize[Task[Seq[Group]]]
  129. def singleTestGroupDefault: Def.Initialize[Task[Seq[Group]]]
  130. lazy val sourceConfigPaths: Seq[Def.Setting[_ >: Seq[Task[Seq[File]]] with Task[Seq[Path]] with FileStamper with Task[Seq[File]] with Seq[Glob] with Seq[File] with File <: AnyRef]]
  131. def sourceMappings: Def.Initialize[Task[Seq[(File, String)]]]
  132. def succeededFile(dir: File): File
  133. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  134. def templateRunLocalInputTask(runLocal: (Seq[String], Logger) ⇒ Unit): Def.Initialize[InputTask[Unit]]
  135. def testExecutionTask(task: Scoped): Def.Initialize[Task[Execution]]
  136. def testExtra(extra: AttributeMap, tdef: TestDefinition): AttributeMap
  137. def testOnlyParser: (State, Seq[String]) ⇒ Parser[(Seq[String], Seq[String])]
  138. def testQuickFilter: Def.Initialize[Task[(Seq[String]) ⇒ Seq[(String) ⇒ Boolean]]]
  139. lazy val testSettings: Seq[Def.Setting[_]]
  140. def testTaskOptions(key: Scoped): Seq[Def.Setting[_]]
  141. lazy val testTasks: Seq[Def.Setting[_]]
  142. def thisBuildCore: Seq[Def.Setting[_]]
  143. def toString(): String
    Definition Classes
    AnyRef → Any
  144. def transitiveUpdateTask: Def.Initialize[Task[Seq[UpdateReport]]]
  145. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def artifactConfigurations(base: Artifact, scope: Configuration, classifier: Option[String]): Iterable[Configuration]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) The configuration(s) should not be decided based on the classifier.

  2. lazy val itSettings: Seq[Def.Setting[_]]
    Annotations
    @nowarn() @deprecated
    Deprecated

    (Since version 1.9.0) Create a separate subproject instead of using IntegrationTest and in addition avoid using itSettings

  3. def makeCrossTarget(t: File, bv: String, sbtv: String, plugin: Boolean, cross: Boolean): File
    Annotations
    @deprecated
    Deprecated

    (Since version 1.5.0) Use constructor with scalaVersion and scalaBinaryVersion

  4. def watchSetting: Def.Initialize[Watched]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) This is no longer used to implement continuous execution

  5. def watchTransitiveSourcesTask: Def.Initialize[Task[Seq[Source]]]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) The watchTransitiveSourcesTask is used only for legacy builds and will be removed in a future version of sbt.

Inherited from BuildCommon

Inherited from AnyRef

Inherited from Any

Ungrouped