object SbtGit
This plugin has all the basic 'git' functionality for other plugins.
- Alphabetic
- By Inheritance
- SbtGit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildSettings: Seq[sbt.Def.Setting[_ >: Option[ScmInfo] with String with Seq[String] with (String) ⇒ Option[String] with Option[String] with Task[GitRunner] with ReadableGit with Boolean]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val projectSettings: Seq[sbt.Def.Setting[_ >: Option[String] with Seq[String] with (String) ⇒ Option[String] with Seq[Command] <: AnyRef]]
-
def
showCurrentGitBranch: sbt.Setting[_]
Adapts the project prompt to show the current project name *and* the current git branch.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
useJGit: sbt.Setting[_]
A Predefined setting to use JGit runner for git.
-
def
useReadableConsoleGit: sbt.Setting[_]
Setting to use console git for readable ops, to allow working with git worktrees
- def versionProjectWithGit: Seq[sbt.Setting[_]]
-
def
versionWithGit: Seq[sbt.Setting[_]]
Uses git to control versioning.
Uses git to control versioning.
Versioning runs through the following:
1. Looks at version-property settings, and checks the sys.props to see if this has a value. 2. Looks at the project tags. The first to match the
gitTagToVersionNumber
setting is used to assign the version. 3. if we have a head commit, we attach this to the base version setting "<base-version>.<git commit sha>" 4. We append the current timestamp to the base version: "<base-version>.<timestamp>" -
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 GitCommand
- object GitKeys
-
object
git
A holder of keys for simple config.