sbt

Defaults

object Defaults extends BuildCommon

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Defaults
  2. BuildCommon
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
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: 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 val CacheDirectoryName: String("cache")

  7. val CompletionsID: String

  8. lazy val ConfigGlobal: Scope

  9. lazy val TaskGlobal: Scope

  10. def addBaseSources: Seq[Def.Setting[Task[Seq[File]]]]

  11. def allTestGroupsTask(s: TaskStreams, frameworks: Map[TestFramework, Framework], loader: ClassLoader, groups: Seq[Group], config: Execution, cp: Classpath, javaHome: Option[File], forkedParallelExecution: Boolean): Task[Output]

  12. def allTestGroupsTask(s: TaskStreams, frameworks: Map[TestFramework, Framework], loader: ClassLoader, groups: Seq[Group], config: Execution, cp: Classpath, javaHome: Option[File]): Task[Output]

  13. def analysisMap[T](cp: Seq[Attributed[T]]): (T) ⇒ Option[Analysis]

  14. def artifactConfigurations(base: Artifact, scope: Configuration, classifier: Option[String]): Iterable[Configuration]

  15. def artifactPathSetting(art: SettingKey[Artifact]): Def.Initialize[File]

  16. def artifactSetting: Def.Initialize[Artifact]

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def askForMainClass(classes: Seq[String]): Option[String]

  19. lazy val baseClasspaths: Seq[Def.Setting[_]]

  20. lazy val baseTasks: Seq[Def.Setting[_]]

  21. def buffered(log: Logger): Logger

  22. def buildCore: Seq[Def.Setting[_]]

  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def collectFiles(dirs: ScopedTaskable[Seq[File]], filter: ScopedTaskable[FileFilter], excludes: ScopedTaskable[FileFilter]): Def.Initialize[Task[Seq[File]]]

  25. def compileBase: Seq[Def.Setting[_]]

  26. def compileIncSetupTask: Def.Initialize[Task[IncSetup]]

  27. def compileInputsSettings: Seq[Def.Setting[_]]

  28. lazy val compileSettings: Seq[Def.Setting[_]]

  29. def compileTask: Def.Initialize[Task[Analysis]]

  30. def compilersSetting: Def.Setting[Task[Compilers]]

  31. def concatMappings(as: Mappings, bs: Mappings): Def.Initialize[Task[Seq[(File, String)]]]

  32. lazy val configPaths: Seq[Def.Setting[_ >: Seq[Task[Seq[File]]] with Task[Seq[File]] with Seq[File] with File <: AnyRef]]

  33. lazy val configSettings: Seq[Def.Setting[_]]

  34. def configSrcSub(key: SettingKey[File]): Def.Initialize[File]

  35. lazy val configTasks: Seq[Def.Setting[_]]

  36. def consoleProjectTask: Def.Initialize[Task[Unit]]

  37. def consoleQuickTask: Def.Initialize[Task[Unit]]

  38. def consoleTask(classpath: TaskKey[Classpath], task: TaskKey[_]): Def.Initialize[Task[Unit]]

  39. def consoleTask: Def.Initialize[Task[Unit]]

  40. def copyResourcesTask: Def.Initialize[Task[Seq[(File, File)]]]

  41. lazy val coreDefaultSettings: Seq[Def.Setting[_]]

  42. def createTestRunners(frameworks: Map[TestFramework, Framework], loader: ClassLoader, config: Execution): Map[TestFramework, Runner]

  43. lazy val defaultConfigs: Seq[Def.Setting[_]]

  44. def defaultRestrictions: Def.Initialize[Seq[Rule]]

  45. def defaultTestTasks(key: Scoped): Seq[Def.Setting[_]]

  46. def detectTests: Def.Initialize[Task[Seq[TestDefinition]]]

  47. def disableAggregate(k: Scoped): Def.Setting[Boolean]

  48. lazy val disableAggregation: Seq[Def.Setting[_]]

  49. def discoverMainClasses(analysis: Analysis): Seq[String]

  50. def discoverSbtPluginNames: Def.Initialize[Task[DiscoveredNames]]

  51. def distinctParser(exs: Set[String], raw: Boolean): Parser[Seq[String]]

  52. def doClean(clean: Seq[File], preserve: Seq[File]): Unit

  53. def docTaskSettings(key: TaskKey[File] = doc): Seq[Def.Setting[_]]

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

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

    Definition Classes
    AnyRef → Any
  56. def extractAnalysis[T](a: Attributed[T]): (T, Analysis)

  57. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  58. def generate(generators: SettingKey[Seq[Task[Seq[File]]]]): Def.Initialize[Task[Seq[File]]]

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

    Definition Classes
    AnyRef → Any
  60. def getDependencies(structure: LoadedBuild, classpath: Boolean = true, aggregate: Boolean = false): (ProjectRef) ⇒ Seq[ProjectRef]

  61. def getForParser[P, T](task: TaskKey[T])(init: (State, Option[T]) ⇒ Parser[P]): Def.Initialize[(State) ⇒ Parser[P]]

    Definition Classes
    BuildCommon
  62. def getForParserI[P, T](task: TaskKey[T])(init: Def.Initialize[(State, Option[T]) ⇒ Parser[P]]): Def.Initialize[(State) ⇒ Parser[P]]

    Definition Classes
    BuildCommon
  63. def getFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State): Option[T]

    Definition Classes
    BuildCommon
  64. def getPrevious[T](task: TaskKey[T]): Def.Initialize[Task[Option[T]]]

    Definition Classes
    BuildCommon
  65. 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 sbt.GlobFilter.

    Definition Classes
    BuildCommon
  66. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  67. def inputTests(key: InputKey[_]): Def.Initialize[InputTask[Unit]]

  68. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  69. lazy val itSettings: Seq[Def.Setting[_]]

  70. def loadForParser[P, T](task: TaskKey[T])(f: (State, Option[T]) ⇒ Parser[P])(implicit format: Format[T]): Def.Initialize[(State) ⇒ Parser[P]]

    Definition Classes
    BuildCommon
  71. def loadForParserI[P, T](task: TaskKey[T])(init: Def.Initialize[(State, Option[T]) ⇒ Parser[P]])(implicit format: Format[T]): Def.Initialize[(State) ⇒ Parser[P]]

    Definition Classes
    BuildCommon
  72. def loadFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State)(implicit f: Format[T]): Option[T]

    Definition Classes
    BuildCommon
  73. def loadPrevious[T](task: TaskKey[T])(implicit f: Format[T]): Def.Initialize[Task[Option[T]]]

    Definition Classes
    BuildCommon
  74. def lock(app: AppConfiguration): GlobalLock

  75. def mainRunMainTask: Def.Setting[InputTask[Unit]]

  76. def mainRunTask: Def.Setting[InputTask[Unit]]

  77. def makeCrossTarget(t: File, sv: String, sbtv: String, plugin: Boolean, cross: Boolean): File

  78. def nameForSrc(config: String): String

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

    Definition Classes
    AnyRef
  80. def noAggregation: Seq[Scoped]

  81. final def notify(): Unit

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

    Definition Classes
    AnyRef
  83. lazy val outputConfigPaths: Seq[Def.Setting[File]]

  84. def overrideConfigs(cs: Configuration*)(configurations: Seq[Configuration]): Seq[Configuration]

    Definition Classes
    BuildCommon
  85. lazy val packageBase: Seq[Def.Setting[_]]

  86. def packageBinMappings: Def.Initialize[Task[Seq[(File, String)]]]

  87. lazy val packageConfig: Seq[Def.Setting[_]]

  88. def packageConfigurationTask: Def.Initialize[Task[Package.Configuration]]

  89. def packageDocMappings: Def.Initialize[Task[Seq[(File, String)]]]

  90. def packageSrcMappings: Def.Initialize[Task[Seq[(File, String)]]]

  91. def packageTask: Def.Initialize[Task[File]]

  92. def packageTaskSettings(key: TaskKey[File], mappingsTask: Def.Initialize[Task[Seq[(File, String)]]]): Seq[Def.Setting[_]]

  93. def paths: Seq[Def.Setting[_ >: Option[File] with File <: Serializable]]

  94. def pickMainClass(classes: Seq[String]): Option[String]

  95. def prefix(config: String): String

  96. def printWarningsTask: Def.Initialize[Task[Unit]]

  97. def projectCore: Seq[Def.Setting[_]]

  98. lazy val projectTasks: Seq[Def.Setting[_]]

  99. def relativeMappings(files: ScopedTaskable[Seq[File]], dirs: ScopedTaskable[Seq[File]]): Def.Initialize[Task[Seq[(File, String)]]]

  100. lazy val resourceConfigPaths: Seq[Def.Setting[_ >: Seq[Task[Seq[File]]] with Task[Seq[File]] with Seq[File] with File <: AnyRef]]

  101. def resourceMappings: Def.Initialize[Task[Seq[(File, String)]]]

  102. implicit def richAttributed(s: Seq[Attributed[File]]): RichAttributed

    Definition Classes
    BuildCommon
  103. implicit def richFiles(s: Seq[File]): RichFiles

    Definition Classes
    BuildCommon
  104. implicit def richPathFinder(s: PathFinder): RichPathFinder

    Definition Classes
    BuildCommon
  105. def runMainParser: (State, Seq[String]) ⇒ Parser[(String, Seq[String])]

  106. def runMainTask(classpath: Def.Initialize[Task[Classpath]], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[Unit]]

  107. def runTask(classpath: Def.Initialize[Task[Classpath]], mainClassTask: Def.Initialize[Task[Option[String]]], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[Unit]]

  108. def runnerInit: Def.Initialize[Task[ScalaRun]]

  109. lazy val runnerSettings: Seq[Def.Setting[_]]

  110. def runnerTask: Def.Setting[Task[ScalaRun]]

  111. def sbtPluginExtra(m: ModuleID, sbtV: String, scalaV: String): ModuleID

  112. def scalaInstanceFromHome(dir: File): Def.Initialize[Task[ScalaInstance]]

  113. def scalaInstanceFromUpdate: Def.Initialize[Task[ScalaInstance]]

  114. def scalaInstanceTask: Def.Initialize[Task[ScalaInstance]]

  115. def selectedFilter(args: Seq[String]): Seq[(String) ⇒ Boolean]

  116. def singleTestGroup(key: Scoped): Def.Initialize[Task[Seq[Group]]]

  117. def singleTestGroupDefault: Def.Initialize[Task[Seq[Group]]]

  118. lazy val sourceConfigPaths: Seq[Def.Setting[_ >: Seq[Task[Seq[File]]] with Task[Seq[File]] with Seq[File] with File <: AnyRef]]

  119. def sourceMappings: Def.Initialize[Task[Seq[(File, String)]]]

  120. def succeededFile(dir: File): File

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

    Definition Classes
    AnyRef
  122. def testExecutionTask(task: Scoped): Def.Initialize[Task[Execution]]

  123. def testExtra(extra: AttributeMap, tdef: TestDefinition): AttributeMap

  124. def testOnlyParser: (State, Seq[String]) ⇒ Parser[(Seq[String], Seq[String])]

  125. def testQuickFilter: Def.Initialize[Task[(Seq[String]) ⇒ Seq[(String) ⇒ Boolean]]]

  126. lazy val testSettings: Seq[Def.Setting[_]]

  127. def testTaskOptions(key: Scoped): Seq[Def.Setting[_]]

  128. lazy val testTasks: Seq[Def.Setting[_]]

  129. def thisBuildCore: Seq[Def.Setting[_]]

  130. def toError(o: Option[String]): Unit

    Definition Classes
    BuildCommon
  131. def toString(): String

    Definition Classes
    AnyRef → Any
  132. def transitiveDependencies(base: ProjectRef, structure: LoadedBuild, includeRoot: Boolean, classpath: Boolean = true, aggregate: Boolean = false): Seq[ProjectRef]

  133. def transitiveUpdateTask: Def.Initialize[Task[Seq[UpdateReport]]]

  134. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  137. def watchSetting: Def.Initialize[Watched]

  138. def watchTransitiveSourcesTask: Def.Initialize[Task[Seq[File]]]

Deprecated Value Members

  1. def compileTaskSettings: Seq[Def.Setting[_]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use inTask(compile)(compileInputsSettings)

  2. lazy val defaultSettings: Seq[Def.Setting[_]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Default settings split into coreDefaultSettings and IvyModule/JvmModule plugins.

  3. def discoverPlugins: Def.Initialize[Task[Set[String]]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Use discoverSbtPluginNames.

  4. def discoverSbtPlugins(analysis: Analysis, log: Logger): Set[String]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Use PluginDiscovery.sourceModuleNames[Plugin].

  5. def docSetting(key: TaskKey[File]): Seq[Def.Setting[_]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use docTaskSettings instead

  6. def forDependencies[T, V](init: (ProjectRef) ⇒ Def.Initialize[V], includeRoot: Boolean = true, classpath: Boolean = true, aggregate: Boolean = false): Def.Initialize[Seq[V]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use the new <key>.all(<ScopeFilter>) API

  7. lazy val globalCore: Seq[Def.Setting[_]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Use AutoPlugins and globalSbtCore instead.

  8. def inAllConfigurations[T](key: TaskKey[T]): Def.Initialize[Task[Seq[T]]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use the new <key>.all(<ScopeFilter>) API

  9. def inDependencies[T](key: SettingKey[T], default: (ProjectRef) ⇒ T, includeRoot: Boolean = true, classpath: Boolean = true, aggregate: Boolean = false): Def.Initialize[Seq[T]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use the new <key>.all(<ScopeFilter>) API

  10. def inputTask[T](f: (TaskKey[Seq[String]]) ⇒ Def.Initialize[Task[T]]): Def.Initialize[InputTask[T]]

    Definition Classes
    BuildCommon
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use Def.inputTask with the Def.spaceDelimited() parser.

  11. def packageBinTask: Def.Initialize[Task[Seq[(File, String)]]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use packageBinMappings instead

  12. def packageDocTask: Def.Initialize[Task[Seq[(File, String)]]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use packageDocMappings instead

  13. def packageSrcTask: Def.Initialize[Task[Seq[(File, String)]]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use packageSrcMappings instead

  14. def packageTasks(key: TaskKey[File], mappingsTask: Def.Initialize[Task[Seq[(File, String)]]]): Seq[Def.Setting[_]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use packageTaskSettings instead

  15. def pairID: (Nothing, Nothing) ⇒ (Nothing, Nothing)

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use Util.pairID instead

  16. def perTaskCache(key: TaskKey[_]): Def.Setting[File]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use the cacheDirectory val on streams.

  17. lazy val projectBaseSettings: Seq[Def.Setting[_]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Settings now split into AutoPlugins.

  18. def scalaInstanceSetting: Def.Initialize[Task[ScalaInstance]]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use scalaInstanceTask.

  19. def selectPackageMain(classes: Seq[String]): Option[String]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.7) use Defaults.pickMainClass

  20. def selectRunMain(classes: Seq[String]): Option[String]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.7) use Defaults.askForMainClass

  21. def testLogger(manager: Streams, baseKey: Scoped)(tdef: TestDefinition): Logger

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Doesn't provide for closing the underlying resources.

  22. def writePluginsDescriptor(plugins: Set[String], dir: File): Seq[File]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.2) Use PluginDiscovery.writeDescriptor.

Inherited from BuildCommon

Inherited from AnyRef

Inherited from Any

Ungrouped