-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
62 lines (49 loc) · 1.63 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
57
58
59
60
61
62
name := "sbt-generator"
organization := "com.github.aselab"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.10.3"
sbtPlugin := true
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= Seq(
"org.fusesource.scalate" %% "scalate-core" % "1.6.1",
"com.googlecode.java-diff-utils" % "diffutils" % "1.3.0",
"org.specs2" %% "specs2" % "2.2.2" % "test",
"org.mockito" % "mockito-all" % "1.9.5" % "test"
)
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature")
ScriptedPlugin.scriptedSettings
ScriptedPlugin.scriptedBufferLog := false
ScriptedPlugin.scriptedLaunchOpts += "-Dversion=" + version.value
watchSources ++= ScriptedPlugin.sbtTestDirectory.value.***.get
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra :=
<url>https://github.com/aselab/sbt-generator</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/aselab/sbt-generator.git</url>
<connection>scm:git:https://github.com/aselab/sbt-generator.git</connection>
</scm>
<developers>
<developer>
<id>a-ono</id>
<name>Akihiro Ono</name>
<url>https://github.com/a-ono</url>
</developer>
<developer>
<id>y-yoshinoya</id>
<name>Yuki Yoshinoya</name>
<url>https://github.com/y-yoshinoya</url>
</developer>
</developers>