object Defaults extends BuildCommon
- Alphabetic
- By Inheritance
- Defaults
- BuildCommon
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
class
RichAttributed extends AnyRef
- Definition Classes
- BuildCommon
-
final
class
RichFiles extends AnyRef
- Definition Classes
- BuildCommon
-
final
class
RichPathFinder extends AnyRef
- Definition Classes
- BuildCommon
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
- final val CacheDirectoryName: String("cache")
- val CompletionsID: String
- lazy val ConfigGlobal: Scope
-
lazy val
ConfigZero: Scope
A scope whose configuration axis is set to Zero.
- lazy val TaskGlobal: Scope
-
lazy val
TaskZero: Scope
A scope whose task axis is set to Zero.
- def addBaseSources: Seq[Def.Setting[Task[Seq[File]]]]
- def analysisMap[T](cp: Seq[Attributed[T]]): (T) ⇒ Option[CompileAnalysis]
- def artifactPathSetting(art: SettingKey[Artifact]): Def.Initialize[File]
- def artifactSetting: Def.Initialize[Artifact]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def askForMainClass(classes: Seq[String]): Option[String]
- lazy val baseTasks: Seq[Def.Setting[_]]
- 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]]
- 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]]
- def bgStopTask: Def.Initialize[InputTask[Unit]]
- def bgWaitForTask: Def.Initialize[InputTask[Unit]]
- def buildCore: Seq[Def.Setting[_]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def collectFiles(dirs: ScopedTaskable[Seq[File]], filter: ScopedTaskable[FileFilter], excludes: ScopedTaskable[FileFilter]): Def.Initialize[Task[Seq[File]]]
- def collectFiles(dirs: Taskable[Seq[File]], filter: Taskable[FileFilter], excludes: Taskable[FileFilter]): Def.Initialize[Task[Seq[File]]]
- def compileAnalysisSettings: Seq[Def.Setting[_]]
- def compileBase: Seq[Def.Setting[_]]
- def compileIncSetupTask: Def.Initialize[Task[Setup]]
- def compileIncrementalTask: Def.Initialize[Task[CompileResult]]
- def compileInputsSettings(classpathTask: TaskKey[VirtualClasspath]): Seq[Def.Setting[_]]
- def compileInputsSettings: Seq[Def.Setting[_]]
- lazy val compileSettings: Seq[Def.Setting[_]]
- def compileTask: Def.Initialize[Task[CompileAnalysis]]
- def compilersSetting: Def.Setting[Task[Compilers]]
- def concatMappings(as: Mappings, bs: Mappings): Def.Initialize[Task[Seq[(File, String)]]]
- lazy val configPaths: Seq[Def.Setting[_]]
- lazy val configSettings: Seq[Def.Setting[_]]
- def configSrcSub(key: SettingKey[File]): Def.Initialize[File]
- lazy val configTasks: Seq[Def.Setting[_]]
- def consoleProjectTask: Def.Initialize[Task[Unit]]
- def consoleQuickTask: Def.Initialize[Task[Unit]]
- def consoleTask(classpath: TaskKey[Classpath], task: TaskKey[_]): Def.Initialize[Task[Unit]]
- def consoleTask: Def.Initialize[Task[Unit]]
- def copyResourcesTask: Def.Initialize[Task[Seq[(File, File)]]]
- lazy val coreDefaultSettings: Seq[Def.Setting[_]]
- def createTestRunners(frameworks: Map[TestFramework, Framework], loader: ClassLoader, config: Execution): Map[TestFramework, Runner]
- def defaultCompileSettings: Seq[Def.Setting[_]]
- lazy val defaultConfigs: Seq[Def.Setting[_]]
- def defaultRestrictions: Def.Initialize[Seq[Rule]]
- def defaultTestTasks(key: Scoped): Seq[Def.Setting[_]]
- def dependencyResolutionTask: Def.Initialize[Task[DependencyResolution]]
- lazy val deprecationSettings: Seq[Def.Setting[_]]
- def detectTests: Def.Initialize[Task[Seq[TestDefinition]]]
- def disableAggregate(k: Scoped): Def.Setting[Boolean]
- lazy val disableAggregation: Seq[Def.Setting[_]]
- def discoverMainClasses(analysis: CompileAnalysis): Seq[String]
- def discoverSbtPluginNames: Def.Initialize[Task[DiscoveredNames]]
- def docTaskSettings(key: TaskKey[File] = doc): Seq[Def.Setting[_]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def extractAnalysis[T](a: Attributed[T]): (T, CompileAnalysis)
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def foregroundRunMainTask: Def.Initialize[InputTask[Unit]]
- def foregroundRunTask: Def.Initialize[InputTask[Unit]]
- def forkOptionsTask: Def.Initialize[Task[ForkOptions]]
- def generate(generators: SettingKey[Seq[Task[Seq[File]]]]): Def.Initialize[Task[Seq[File]]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getForParser[P, T](task: TaskKey[T])(init: (State, Option[T]) ⇒ Parser[P]): Def.Initialize[(State) ⇒ Parser[P]]
- Definition Classes
- BuildCommon
-
def
getForParserI[P, T](task: TaskKey[T])(init: Def.Initialize[(State, Option[T]) ⇒ Parser[P]]): Def.Initialize[(State) ⇒ Parser[P]]
- Definition Classes
- BuildCommon
-
def
getFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State): Option[T]
- Definition Classes
- BuildCommon
-
def
getPrevious[T](task: TaskKey[T]): Def.Initialize[Task[Option[T]]]
- Definition Classes
- BuildCommon
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inputTests(key: InputKey[_]): Def.Initialize[InputTask[Unit]]
- Annotations
- @nowarn()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
def
loadFromContext[T](task: TaskKey[T], context: Def.ScopedKey[_], s: State)(implicit f: JsonFormat[T]): Option[T]
- Definition Classes
- BuildCommon
-
def
loadPrevious[T](task: TaskKey[T])(implicit f: JsonFormat[T]): Def.Initialize[Task[Option[T]]]
- Definition Classes
- BuildCommon
- def lock(app: AppConfiguration): GlobalLock
- def mainBgRunMainTask: Def.Setting[InputTask[JobHandle]]
- def mainBgRunTask: Def.Setting[InputTask[JobHandle]]
- def makeCrossSources(scalaSrcDir: File, javaSrcDir: File, sv: String, cross: Boolean): Seq[File]
- def makeCrossSources(scalaSrcDir: File, javaSrcDir: File, sv: String, epochVersion: String, cross: Boolean): Seq[File]
- def makeCrossTarget(t: File, scalaVersion: String, scalaBinaryVersion: String, sbtv: String, plugin: Boolean, cross: Boolean): File
- def makePluginCrossSources(isPlugin: Boolean, scalaSrcDir: File, sbtBinaryV: String, cross: Boolean): Seq[File]
- def makeScalaInstance(version: String, libraryJars: Array[File], allCompilerJars: Seq[File], allDocJars: Seq[File], state: State, topLoader: ClassLoader): ScalaInstance
- def nameForSrc(config: String): String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noAggregation: Seq[Scoped]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val outputConfigPaths: Seq[Def.Setting[_]]
-
def
overrideConfigs(cs: Configuration*)(configurations: Seq[Configuration]): Seq[Configuration]
- Definition Classes
- BuildCommon
- lazy val packageBase: Seq[Def.Setting[_]]
- def packageBinMappings: Def.Initialize[Task[Seq[(File, String)]]]
- lazy val packageConfig: Seq[Def.Setting[_]]
- def packageConfigurationTask: Def.Initialize[Task[Configuration]]
- def packageDocMappings: Def.Initialize[Task[Seq[(File, String)]]]
- def packageSrcMappings: Def.Initialize[Task[Seq[(File, String)]]]
- def packageTask: Def.Initialize[Task[File]]
- def packageTaskSettings(key: TaskKey[File], mappingsTask: Def.Initialize[Task[Seq[(File, String)]]]): Seq[Def.Setting[_]]
- def paths: Seq[Def.Setting[_]]
- def pickMainClass(classes: Seq[String]): Option[String]
- def prefix(config: String): String
- def printWarningsTask: Def.Initialize[Task[Unit]]
- def projectCore: Seq[Def.Setting[_]]
- lazy val projectTasks: Seq[Def.Setting[_]]
- def psTask: Def.Initialize[Task[Seq[JobHandle]]]
- def relativeMappings(files: ScopedTaskable[Seq[File]], dirs: ScopedTaskable[Seq[File]]): Def.Initialize[Task[Seq[(File, String)]]]
- def relativeMappings(files: Taskable[Seq[File]], dirs: Taskable[Seq[File]]): Def.Initialize[Task[Seq[(File, String)]]]
- lazy val resourceConfigPaths: Seq[Def.Setting[_ >: Seq[Task[Seq[File]]] with Task[Seq[File]] with Seq[Glob] with Seq[File] with File <: AnyRef]]
- def resourceMappings: Def.Initialize[Task[Seq[(File, String)]]]
-
implicit
def
richAttributed(s: Seq[Attributed[File]]): RichAttributed
- Definition Classes
- BuildCommon
-
implicit
def
richFiles(s: Seq[File]): RichFiles
- Definition Classes
- BuildCommon
-
implicit
def
richPathFinder(s: PathFinder): RichPathFinder
- Definition Classes
- BuildCommon
- def runLocalTemplate(arguments: Seq[String], log: Logger): Unit
- def runMainParser: (State, Seq[String]) ⇒ Parser[(String, Seq[String])]
- def runMainTask(classpath: Def.Initialize[Task[Classpath]], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[Unit]]
- def runTask(classpath: Def.Initialize[Task[Classpath]], mainClassTask: Def.Initialize[Task[Option[String]]], scalaRun: Def.Initialize[Task[ScalaRun]]): Def.Initialize[InputTask[Unit]]
- def runnerInit: Def.Initialize[Task[ScalaRun]]
- lazy val runnerSettings: Seq[Def.Setting[_]]
- def runnerTask: Def.Setting[Task[ScalaRun]]
- def sbtPluginExtra(m: ModuleID, sbtV: String, scalaV: String): ModuleID
- def scalaInstanceFromHome(dir: File): Def.Initialize[Task[ScalaInstance]]
- def scalaInstanceFromUpdate: Def.Initialize[Task[ScalaInstance]]
- def scalaInstanceTask: Def.Initialize[Task[ScalaInstance]]
- def selectedFilter(args: Seq[String]): Seq[(String) ⇒ Boolean]
- def singleTestGroup(key: Scoped): Def.Initialize[Task[Seq[Group]]]
- def singleTestGroupDefault: Def.Initialize[Task[Seq[Group]]]
- 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]]
- def sourceMappings: Def.Initialize[Task[Seq[(File, String)]]]
- def succeededFile(dir: File): File
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def templateRunLocalInputTask(runLocal: (Seq[String], Logger) ⇒ Unit): Def.Initialize[InputTask[Unit]]
- def testExecutionTask(task: Scoped): Def.Initialize[Task[Execution]]
- def testExtra(extra: AttributeMap, tdef: TestDefinition): AttributeMap
- def testOnlyParser: (State, Seq[String]) ⇒ Parser[(Seq[String], Seq[String])]
- def testQuickFilter: Def.Initialize[Task[(Seq[String]) ⇒ Seq[(String) ⇒ Boolean]]]
- lazy val testSettings: Seq[Def.Setting[_]]
- def testTaskOptions(key: Scoped): Seq[Def.Setting[_]]
- lazy val testTasks: Seq[Def.Setting[_]]
- def thisBuildCore: Seq[Def.Setting[_]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def transitiveUpdateTask: Def.Initialize[Task[Seq[UpdateReport]]]
-
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()
Deprecated Value Members
-
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.
-
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
-
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
-
def
watchSetting: Def.Initialize[Watched]
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) This is no longer used to implement continuous execution
-
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.