Skip to content

Commit 8055bfe

Browse files
authored
Merge branch 'develop' into develop
2 parents dd7626d + fa75300 commit 8055bfe

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import com.typesafe.config._
12

23
name := "delphi-management"
34

@@ -14,8 +15,12 @@ lazy val management = (project in file(".")).enablePlugins(SbtWeb).enablePlugins
1415
buildInfoPackage := "de.upb.cs.swt.delphi.management"
1516
)
1617

17-
PlayKeys.devSettings := Seq("play.server.http.port" -> "8082")
18+
val conf = ConfigFactory.parseFile(new File("conf/application.conf")).resolve()
19+
val appPortManagement = conf.getString("app.portManagement")
1820

21+
PlayKeys.devSettings := Seq(
22+
"play.server.http.port" -> appPortManagement
23+
)
1924
pipelineStages := Seq(digest,gzip)
2025

2126
resolvers += Resolver.sonatypeRepo("snapshots")

conf/application.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,4 +355,6 @@ play.i18n.langs = [ "en" ]
355355
play.modules.enabled += "module.Module"
356356
play.http.errorHandler = "utils.ErrorHandler"
357357

358+
app.portManagement = 8083
359+
358360
include "silhouette.conf"

0 commit comments

Comments
 (0)