Skip to content

Commit 29b0d22

Browse files
committed
Activated scalastyle plugin
1 parent 2b214b3 commit 29b0d22

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ lazy val management = (project in file(".")).enablePlugins(SbtWeb).enablePlugins
1515
buildInfoPackage := "de.upb.cs.swt.delphi.management"
1616
)
1717

18+
scalastyleConfig := baseDirectory.value / "project" / "scalastyle_config.xml"
19+
1820
val conf = ConfigFactory.parseFile(new File("conf/application.conf")).resolve()
1921
val appPortManagement = conf.getString("app.portManagement")
2022

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.12")
1212
// preparation for dependency checking
1313
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.1")
1414

15+
// scalastyle
16+
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
1517

1618
// web plugins
1719
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.3")

0 commit comments

Comments
 (0)