forked from sbt/sbt-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
20 lines (16 loc) · 829 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
organization := "com.typesafe.sbt"
name := "sbt-git"
licenses := Seq(("BSD-2-Clause", url("https://opensource.org/licenses/BSD-2-Clause")))
description := "An sbt plugin that offers git features directly inside sbt"
developers := List(Developer("jsuereth", "Josh Suereth", "joshua suereth gmail com", url("http://jsuereth.com/")))
startYear := Some(2011)
homepage := scmInfo.value map (_.browseUrl)
scmInfo := Some(ScmInfo(url("https://github.com/sbt/sbt-git"), "scm:git:git@github.com:sbt/sbt-git.git"))
crossSbtVersions := List("0.13.17", "1.1.5")
enablePlugins(GitVersioning, SbtPlugin)
git.baseVersion := "1.0"
libraryDependencies ++= Seq(
"org.eclipse.jgit" % "org.eclipse.jgit" % "4.9.0.201710071750-r",
"com.michaelpollmeier" % "versionsort" % "1.0.0"
)
scriptedLaunchOpts += s"-Dproject.version=${version.value}"