object Project extends ProjectExtra
- Alphabetic
- By Inheritance
- Project
- ProjectExtra
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final class Constructor extends AnyRef
-
final
class
RichTaskPromise[A] extends AnyRef
implicitly injected to tasks that return PromiseWrap.
- final class RichTaskSessionVar[S] extends AnyRef
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
- val ExtraBuilds: AttributeKey[List[URI]]
- val ProjectReturn: AttributeKey[List[File]]
- def addExtraBuilds(s: State, extra: List[URI]): State
- def apply(id: String, base: File): Project
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
classpathDependency[T](p: T)(implicit ev: (T) ⇒ ProjectReference): ClasspathDependency
- Definition Classes
- ProjectExtra
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
implicit
def
configDependencyConstructor[T](p: T)(implicit ev: (T) ⇒ ProjectReference): Constructor
- Definition Classes
- ProjectExtra
- def current(state: State): ProjectRef
- def definitions(structure: BuildStructure, actual: Boolean, key: AttributeKey[_])(implicit display: Show[Def.ScopedKey[_]]): Seq[Scope]
- def delegates(structure: BuildStructure, scope: Scope, key: AttributeKey[_]): Seq[Def.ScopedKey[_]]
- def details(structure: BuildStructure, actual: Boolean, scope: Scope, key: AttributeKey[_])(implicit display: Show[Def.ScopedKey[_]]): String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equal(a: Def.ScopedKey[_], b: Def.ScopedKey[_], mask: ScopeMask): Boolean
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def extraBuilds(s: State): List[URI]
- def extract(state: State): Extracted
- def fillTaskAxis(scoped: Def.ScopedKey[_]): Def.ScopedKey[_]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHook[T](key: SettingKey[(T) ⇒ T], data: Settings[Scope]): (T) ⇒ T
- def getHooks(data: Settings[Scope]): ((State) ⇒ State, (State) ⇒ State)
- def getOrError[T](state: State, key: AttributeKey[T], msg: String): T
- def getOrNil[T](s: State, key: AttributeKey[List[T]]): List[T]
- def getProject(ref: ProjectRef, units: Map[URI, LoadedBuildUnit]): Option[ResolvedProject]
- def getProject(ref: ProjectRef, structure: LoadedBuild): Option[ResolvedProject]
- def getProject(ref: ProjectRef, structure: BuildStructure): Option[ResolvedProject]
- def getProjectForReference(ref: Reference, structure: BuildStructure): Option[ResolvedProject]
- def graphSettings(structure: BuildStructure, actual: Boolean, graphName: String, file: File)(implicit display: Show[Def.ScopedKey[_]]): Unit
- def graphSettings(structure: BuildStructure, basedir: File)(implicit display: Show[Def.ScopedKey[_]]): Unit
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inConfig(conf: Configuration)(ss: Seq[Def.Setting[_]]): Seq[Def.Setting[_]]
- Definition Classes
- ProjectExtra
- def inPluginProject(s: State): Boolean
-
def
inScope(scope: Scope)(ss: Seq[Def.Setting[_]]): Seq[Def.Setting[_]]
- Definition Classes
- ProjectExtra
-
def
inTask(t: Scoped)(ss: Seq[Def.Setting[_]]): Seq[Def.Setting[_]]
- Definition Classes
- ProjectExtra
-
def
inThisBuild(ss: Seq[Def.Setting[_]]): Seq[Def.Setting[_]]
- Definition Classes
- ProjectExtra
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isProjectLoaded(state: State): Boolean
- def loadAction(s: State, action: Project.LoadAction.Value): (State, File)
- val loadActionParser: Parser[Project.LoadAction.Value]
- def mapScope(f: (Scope) ⇒ Scope): ~>[Def.ScopedKey, Def.ScopedKey]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
normalizeModuleID(id: String): String
Normalize a String so that it is suitable for use as a dependency management module identifier.
Normalize a String so that it is suitable for use as a dependency management module identifier. This is a best effort implementation, since valid characters are not documented or consistent.
-
def
normalizeProjectID(id: String): Either[String, String]
Constructs a valid Project ID based on
id
and returns it in Right or returns the error message in Left if one cannot be constructed. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orIdentity[T](opt: Option[(T) ⇒ T]): (T) ⇒ T
-
macro
def
project: Project
Creates a new Project.
Creates a new Project. This is a macro that expects to be assigned directly to a val. The name of the val is used as the project ID and the name of the base directory of the project.
- Definition Classes
- ProjectExtra
- def projectMacroImpl(c: Context): scala.reflect.macros.blackbox.Context.Expr[Project]
- def projectReturn(s: State): List[File]
- implicit def projectToLocalProject(p: Project): LocalProject
- def projectToRef(p: Project): ProjectReference
- def relation(structure: BuildStructure, actual: Boolean)(implicit display: Show[Def.ScopedKey[_]]): Relation[Def.ScopedKey[_], Def.ScopedKey[_]]
- def removeExtraBuilds(s: State, remove: List[URI]): State
- def reverseDependencies(cMap: Map[Def.ScopedKey[_], Def.Flattened], scoped: Def.ScopedKey[_]): Iterable[Def.ScopedKey[_]]
-
implicit
def
richInitialize[T](i: Def.Initialize[T]): RichInitialize[T]
- Definition Classes
- ProjectExtra
-
implicit
def
richInitializeInputTask[T](init: Def.Initialize[InputTask[T]]): RichInitializeInputTask[T]
- Definition Classes
- ProjectExtra
-
implicit
def
richInitializeTask[T](init: Def.Initialize[Task[T]]): RichInitializeTask[T]
- Definition Classes
- ProjectExtra
-
implicit
def
richTaskSessionVar[T](init: Def.Initialize[Task[T]]): RichTaskSessionVar[T]
- Definition Classes
- ProjectExtra
- def runTask[T](taskKey: Def.ScopedKey[Task[T]], state: State, config: EvaluateTaskConfig): Option[(State, Result[T])]
- def runTask[T](taskKey: Def.ScopedKey[Task[T]], state: State, checkCycles: Boolean = false): Option[(State, Result[T])]
- def runUnloadHooks(s: State): State
-
implicit
def
sbtRichTaskPromise[A](i: Def.Initialize[Task[PromiseWrap[A]]]): RichTaskPromise[A]
- Definition Classes
- ProjectExtra
- def scopedKeyData(structure: BuildStructure, scope: Scope, key: AttributeKey[_]): Option[ScopedKeyData[_]]
- def session(state: State): SessionSettings
- def setAll(extracted: Extracted, settings: Seq[Def.Setting[_]]): SessionSettings
- def setCond[T](key: AttributeKey[T], vopt: Option[T], attributes: AttributeMap): AttributeMap
- def setExtraBuilds(s: State, extra: List[URI]): State
- def setProject(session: SessionSettings, structure: BuildStructure, s: State, preOnLoad: (State) ⇒ State): State
- def setProject(session: SessionSettings, structure: BuildStructure, s: State): State
- def setProjectReturn(s: State, pr: List[File]): State
- def settingGraph(structure: BuildStructure, basedir: File, scoped: Def.ScopedKey[_])(implicit display: Show[Def.ScopedKey[_]]): SettingGraph
- def showContextKey(state: State, keyNameColor: Option[String]): Show[Def.ScopedKey[_]]
- def showContextKey(state: State): Show[Def.ScopedKey[_]]
- def showContextKey2(session: SessionSettings, keyNameColor: Option[String] = None): Show[Def.ScopedKey[_]]
- def showDefinitions(key: AttributeKey[_], defs: Seq[Scope])(implicit display: Show[Def.ScopedKey[_]]): String
- def showLoadingKey(loaded: LoadedBuild, keyNameColor: Option[String] = None): Show[Def.ScopedKey[_]]
- def showUses(defs: Seq[Def.ScopedKey[_]])(implicit display: Show[Def.ScopedKey[_]]): String
- def structure(state: State): BuildStructure
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def transform(g: (Scope) ⇒ Scope, ss: Seq[Def.Setting[_]]): Seq[Def.Setting[_]]
- def transformRef(g: (Scope) ⇒ Scope, ss: Seq[Def.Setting[_]]): Seq[Def.Setting[_]]
- def updateCurrent(s: State): State
- def updateExtraBuilds(s: State, f: (List[URI]) ⇒ List[URI]): State
- def usedBy(structure: BuildStructure, actual: Boolean, key: AttributeKey[_])(implicit display: Show[Def.ScopedKey[_]]): Seq[Def.ScopedKey[_]]
-
def
validProjectID(id: String): Option[String]
Returns None if
id
is a valid Project ID or Some containing the parser error message if it is not. -
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()
- object LoadAction extends Enumeration
Deprecated Value Members
-
def
showContextKey(session: SessionSettings, structure: BuildStructure, keyNameColor: Option[String] = None): Show[Def.ScopedKey[_]]
- Annotations
- @deprecated
- Deprecated
(Since version 1.1.1) Use showContextKey2 which doesn't take the unused structure param