-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.sbt
58 lines (45 loc) · 1.75 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
sbtPlugin := true
organization := "com.databricks"
name := "sbt-databricks"
version := "0.2.0-SNAPSHOT"
scalaVersion := "2.10.5"
libraryDependencies ++= Seq(
"org.apache.httpcomponents" % "httpclient" % "4.5.5",
"org.apache.httpcomponents" % "httpmime" % "4.5.5",
"org.apache.httpcomponents" % "httpclient-cache" % "4.5.5",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.9.4",
"commons-fileupload" % "commons-fileupload" % "1.3")
version in ThisBuild := s"${version.value}"
organization in ThisBuild := s"${organization.value}"
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
resourceGenerators in Compile += Def.task {
val buildScript =
baseDirectory.value / "build" / "generate-build-info.sh" getAbsolutePath()
val targetDir = baseDirectory.value / "target" / "extra-resources" getAbsolutePath()
val command = Seq("bash", buildScript, targetDir, version.value)
println(command)
Process(command).!!
val propsFile = baseDirectory.value / "target" / "extra-resources" / "sbt-databricks-version-info.properties"
Seq(propsFile)
}.taskValue
publishMavenStyle := false
bintrayRepository := "sbt-plugins"
bintrayOrganization := None
pomExtra := (
<url>https://github.com/databricks/sbt-databricks</url>
<scm>
<url>[email protected]:databricks/sbt-databricks.git</url>
<connection>scm:git:[email protected]:databricks/sbt-databricks.git</connection>
</scm>
<developers>
<developer>
<id>brkyvz</id>
<name>Burak Yavuz</name>
<url>https://github.com/brkyvz</url>
</developer>
<developer>
<id>marmbrus</id>
<name>Michael Armbrust</name>
<url>https://github.com/marmbrus</url>
</developer>
</developers>)