Skip to content

Commit 16ca2d6

Browse files
Merge pull request #20 from delphi-hub/feature/docker
Included docker sbt plugin
2 parents cfb8363 + e2a8a8b commit 16ca2d6

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

build.sbt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name := "delphi-registry"
23

34
version := "1.0.0-SNAPSHOT"
@@ -13,3 +14,16 @@ libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.1"
1314
libraryDependencies += "io.spray" %% "spray-json" % "1.3.3"
1415

1516
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.4" % "test"
17+
18+
19+
libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.4"
20+
21+
22+
lazy val registry = (project in file(".")).
23+
enablePlugins(JavaAppPackaging).
24+
enablePlugins(DockerPlugin).
25+
enablePlugins(ScalastylePlugin).
26+
settings (
27+
dockerBaseImage := "openjdk:jre-alpine"
28+
)
29+

project/plugins.sbt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// build management and packaging
2+
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
3+
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.2")
4+
5+
// coverage
6+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
7+
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.12")
8+
9+
// preparation for dependency checking
10+
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.1")
11+
12+
// scalastyle
13+
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")

0 commit comments

Comments
 (0)