forked from allenai/sbt-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (36 loc) · 1.58 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import bintray.{ Keys => BintrayKeys }
import bintray.{ Plugin => BintrayPlugin }
libraryDependencies ++= Seq("com.typesafe" % "config" % "1.2.0")
organization := "org.allenai.plugins"
name := "allenai-sbt-plugins"
lazy val ai2Plugins = project.in(file(".")).enablePlugins(ReleasePlugin)
scalacOptions := Seq(
"-encoding", "utf8",
"-feature",
"-unchecked",
"-deprecation",
"-language:_",
"-Xlog-reflective-calls")
// SBT requires 2.10 for now (1/15/15).
scalaVersion := "2.10.4"
sbtPlugin := true
// We wrap some 3rd party plugins:
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.7.6")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.8.5")
addSbtPlugin(
("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.6.0")
// Exclude the old scalariform fork - we include a newer version with sbt-scalariform below.
.exclude("com.danieltrinh", "scalariform_2.10"))
addSbtPlugin("com.github.jkinkead" % "sbt-scalariform" % "0.1.6")
// Dependency graph visualiztion in SBT console
addSbtPlugin("com.gilt" % "sbt-dependency-graph-sugar" % "0.7.4")
// Wrapped by WebServicePlugin and WebappPlugin
addSbtPlugin("io.spray" % "sbt-revolver" % "0.7.2")
// Allows us to test our plugins via the sbt-scripted plugin:
scriptedSettings
BintrayPlugin.bintrayPublishSettings
publishMavenStyle := false
BintrayKeys.repository in BintrayKeys.bintray := "sbt-plugins"
BintrayKeys.bintrayOrganization in BintrayKeys.bintray := Some("allenai")
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))
// TODO(markschaake): sbtCliApp and other archetype plugins