prepare CI deploy

pull/5894/head
Thibault Duplessis 2020-01-05 10:00:50 -06:00
parent 042c64bd1a
commit c660479379
3 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@ lazy val root = Project("lila", file("."))
.dependsOn(api)
.aggregate(api)
version := lilaVersion
scalaVersion := globalScalaVersion
resolvers ++= Dependencies.Resolvers.commons
scalacOptions ++= compilerOptions :+ "-P:silencer:pathFilters=target/scala-2.13/routes"

View File

@ -522,3 +522,5 @@ kamon {
host-metrics.enabled = no
}
}
# Don't let play manage its own PID file
pidfile.path = "/dev/null"

View File

@ -5,13 +5,14 @@ object BuildSettings {
import Dependencies._
val lilaVersion = "3.0"
val globalScalaVersion = "2.13.1"
val useEpoll = sys.props.get("epoll").fold(false)(_.toBoolean)
if (useEpoll) println("--- epoll build ---")
def buildSettings = Defaults.coreDefaultSettings ++ Seq(
version := "3.0",
version := lilaVersion,
organization := "org.lichess",
scalaVersion := globalScalaVersion,
resolvers ++= Dependencies.Resolvers.commons,