Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit 4c69943

Browse files
committed
Use sbt-git
1 parent 0b9ed06 commit 4c69943

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ scalaModuleSettings
22

33
name := "scala-asm"
44

5-
version := "5.0.3-scala-3"
5+
enablePlugins(GitVersioning)
6+
7+
git.useGitDescribe := true
68

79
// Otherwise the artifact has a dependency on scala-library
810
autoScalaLibrary := false

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.3")
2+
3+
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.4")

0 commit comments

Comments
 (0)