-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
61 lines (53 loc) · 2.11 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
sbtPlugin := true
organization := "com.versioneye"
name := "sbt-versioneye-plugin"
version := "0.2.1-SNAPSHOT"
organizationHomepage := Some(new URL("https://www.versioneye.com"))
description := "This is the sbt plugin for https://www.VersionEye.com. It allows you to create and update a project at VersionEye. You can find a complete documentation of this project on GitHub: https://github.com/versioneye/versioneye_sbt_plugin."
startYear := Some(2015)
scalaVersion := "2.10.2"
libraryDependencies ++= Seq("com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.6.1",
"org.scala-lang" % "scala-library" % "2.10.2", "org.scalaj" %% "scalaj-http" % "1.1.5")
publishArtifact in Test := false
publishMavenStyle := true
pomIncludeRepository := { _ => false }
// scripted-plugin
ScriptedPlugin.scriptedSettings
scriptedBufferLog := false
scriptedLaunchOpts <+= version { "-Dplugin.version=" + _ }
watchSources <++= sourceDirectory map { path => (path ** "*").get }
// maven repositories
resolvers ++= Seq(
Opts.resolver.sonatypeReleases,
"sonatype.repo" at "https://oss.sonatype.org/content/groups/public",
"Local Maven Repository" at ("file://" + Path.userHome.absolutePath + "/.m2/repository")
)
publishTo <<= version { (v: String) =>
// Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))
val nexus = "https://oss.sonatype.org/"
if (v.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/versioneye/versioneye_sbt_plugin</url>
<licenses>
<license>
<name>MIT</name>
<url>http://choosealicense.com/licenses/mit/</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:versioneye/sbt-growl-plugin.git</url>
<connection>scm:git:[email protected]:softprops/versioneye_sbt_plugin.git</connection>
</scm>
<developers>
<developer>
<id>mp911de</id>
<name>Mark Paluch</name>
<url>https://github.com/mp911de</url>
</developer>
</developers>
)