Archive for April, 2017

Taken from the PlayFramework Google Groups File “conf/routes”: ->      /api                        api.Routes // focus on the big R! ->      /                           website.Routes File “conf/api.routes”: GET    /healthCheck/status     […]

build.sbt: javaOptions in Universal ++= Seq( // docker …. “-Djava.net.preferIPv4Stack=true” ) javaOptions in run += “-Djava.net.preferIPv4Stack=true” // dev mode additionally: sbt -J-Djava.net.preferIPv4Stack=true

// pdf generation val play2PDF = “it.innove” % “play2-pdf” % “1.5.1” excludeAll( ExclusionRule(organization = “com.typesafe.play”, name = “twirl-api_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-server_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-java_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-netty-server_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-logback_2.11”) ) Unfortunately, it’s required to hardcode the Scala Version into the Artifact name.. […]


top