-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
29 lines (24 loc) · 889 Bytes
/
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
enablePlugins(SbtPlugin)
name := "sbt-ecr"
organization := "com.mintbeans"
description := "sbt plugin for managing Amazon ECR repositories"
startYear := Some(2016)
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
//https://www.scala-sbt.org/1.x/docs/Cross-Build-Plugins.html
ThisBuild / crossScalaVersions := Seq("2.10.7", "2.12.10")
sbtVersion in pluginCrossBuild := {
scalaBinaryVersion.value match {
case "2.10" => "0.13.18"
case "2.12" => "1.2.8"
}
}
scalacOptions := Seq("-unchecked", "-feature", "-deprecation", "-encoding", "utf8")
libraryDependencies ++= {
val amazonSdkV = "1.11.672"
val scalaTestV = "3.0.8"
Seq(
"com.amazonaws" % "aws-java-sdk-sts" % amazonSdkV,
"com.amazonaws" % "aws-java-sdk-ecr" % amazonSdkV,
"org.scalatest" %% "scalatest" % scalaTestV % "test"
)
}