forked from sbt/sbt-buildinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
21 lines (20 loc) · 933 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
lazy val commonSettings: Seq[Setting[_]] = Seq(
git.baseVersion in ThisBuild := "0.9.0",
organization in ThisBuild := "com.eed3si9n"
)
lazy val root = (project in file(".")).
enablePlugins(GitVersioning, ScriptedPlugin).
settings(
commonSettings,
sbtPlugin := true,
name := "sbt-buildinfo",
// sbtVersion in Global := "0.13.0"
// scalaVersion in Global := "2.10.2"
scalacOptions := Seq("-Xfuture", "-unchecked", "-deprecation", "-feature", "-language:implicitConversions"),
scalacOptions += "-language:experimental.macros",
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % Provided,
description := "sbt plugin to generate build info",
licenses := Seq("MIT License" -> url("https://github.com/sbt/sbt-buildinfo/blob/master/LICENSE")),
scriptedLaunchOpts ++= Seq("-Xmx1024M", "-Dplugin.version=" + version.value),
scriptedBufferLog := false
)