-
Notifications
You must be signed in to change notification settings - Fork 105
/
build.sbt
48 lines (45 loc) · 1.53 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
// General
Global / excludeLintKeys += crossSbtVersions // don't warn about unused setting
enablePlugins(SbtPlugin)
name := "xsbt-web-plugin"
organization := "com.earldouglas"
sbtPlugin := true
scalacOptions ++= Seq("-feature", "-deprecation")
scalaVersion := "2.12.19"
// scripted-plugin
scriptedBufferLog := false
watchSources ++= { (sourceDirectory.value ** "*").get }
// AWS deployment support
val awsJavaSdkVersion = "1.12.734"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-elasticbeanstalk" % awsJavaSdkVersion
libraryDependencies += "com.amazonaws" % "aws-java-sdk-s3" % awsJavaSdkVersion
// Publish to Sonatype, https://www.scala-sbt.org/release/docs/Using-Sonatype.html
credentials := List(
Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
)
description := "Servlet support for sbt"
developers := List(
Developer(
id = "earldouglas",
name = "James Earl Douglas",
email = "james@earldouglas.com",
url = url("https://earldouglas.com/")
)
)
homepage := Some(url("https://github.com/earldouglas/xsbt-web-plugin"))
licenses := List(
"BSD New" -> url("https://opensource.org/licenses/BSD-3-Clause")
)
organizationHomepage := Some(url("https://earldouglas.com/"))
organizationName := "James Earl Douglas"
pomIncludeRepository := { _ => false }
publishMavenStyle := true
publishTo := Some(
"releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"
)
scmInfo := Some(
ScmInfo(
url("https://github.com/earldouglas/xsbt-web-plugin"),
"scm:git@github.com:earldouglas/xsbt-web-plugin.git"
)
)