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, javaOptions: Seq[String]): Task[Output]

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

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

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

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

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

  17. def artifactSetting: Def.Initialize[Artifact]

  18. final def asInstanceOf[T0]: T0

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

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

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

  22. def buffered(log: Logger): Logger

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

  24. def clone(): AnyRef

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

  26. def compileAnalysisSettings: Seq[Def.Setting[_]]

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

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

  29. def compileIncrementalTask: Def.Initialize[Task[CompileResult]]

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

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

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

  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[_ >: Seq[Task[Seq[File]]] with Task[Seq[File]] with Seq[File] with File <: AnyRef]]

  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. lazy val defaultConfigs: Seq[Def.Setting[_]]

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

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

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

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

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

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

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

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

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

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

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

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

  59. def finalize(): Unit

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

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

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

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

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

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

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

    Definition Classes
    BuildCommon
  67. 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
  68. def hashCode(): Int

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

  70. final def isInstanceOf[T0]: Boolean

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

  72. 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
  73. 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
  74. def loadFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State)(implicit f: Format[T]): Option[T]

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

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

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

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

  79. def makeCrossSources(scalaSrcDir: File, javaSrcDir: File, sv: String, cross: Boolean): Seq[File]

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

  81. def nameForSrc(config: String): String

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

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

  84. final def notify(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

  98. def prefix(config: String): String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  123. def succeededFile(dir: File): File

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    BuildCommon
  134. def toString(): String

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

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

  137. final def wait(): Unit

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

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

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

  141. 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