Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Commit aa85aad

Browse files
committed
With both sbt-buildinfo and scrooge-sbt-plugin enabled, buildinfo fails
``` > compile [info] Compiling 6 Scala sources to /home/rtyley/development/friendly-tailor/target/scala-2.11/classes... [error] /home/rtyley/development/friendly-tailor/target/scala-2.11/src_managed/main/sbt-buildinfo/Info.scala:6: Info is already defined as case class Info [error] case object Info { [error] ^ [error] one error found [error] (compile:compileIncremental) Compilation failed [error] Total time: 2 s, completed 29-Apr-2016 13:45:48 ```
1 parent 55004e3 commit aa85aad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.sbt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ name := "friendly-tailor"
22

33
version := "1.0-SNAPSHOT"
44

5-
lazy val root = (project in file("."))
5+
lazy val root = (project in file(".")).enablePlugins(BuildInfoPlugin).
6+
settings(
7+
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
8+
buildInfoPackage := "hello",
9+
buildInfoObject := "Info"
10+
)
11+
612

713
scalaVersion := "2.11.8"
814
scalacOptions ++= Seq("-feature")

0 commit comments

Comments
 (0)