-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c611a7d
commit c8c7952
Showing
20 changed files
with
69 additions
and
61 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,76 @@ | ||
name := "lila-search" | ||
|
||
version := "2.0" | ||
|
||
scalaVersion := "2.13.14" | ||
inThisBuild( | ||
Seq( | ||
scalaVersion := "2.13.14", | ||
versionScheme := Some("early-semver"), | ||
version := "3.0.0-SNAPSHOT", | ||
run / fork := true, | ||
run / javaOptions += "-Dconfig.override_with_env_vars=true", | ||
Compile / doc / sources := Seq.empty, | ||
Compile / packageDoc / publishArtifact := false, | ||
Compile / packageSrc / publishArtifact := false, | ||
resolvers += "lila-maven" at "https://raw.githubusercontent.com/ornicar/lila-maven/master" | ||
) | ||
) | ||
|
||
lazy val `lila-search` = project | ||
.in(file(".")) | ||
lazy val app = project | ||
.in(file("app")) | ||
.enablePlugins(PlayScala) | ||
.disablePlugins(PlayFilters) | ||
.settings( | ||
name := "lila-search", | ||
organization := "org.lichess", | ||
name := "lila-search", | ||
libraryDependencies ++= Seq( | ||
"com.github.ornicar" %% "scalalib" % "7.1.0", | ||
"com.sksamuel.elastic4s" %% "elastic4s-client-esjava" % "7.17.4", | ||
"com.typesafe.play" %% "play-json" % "2.9.4", | ||
"com.typesafe.play" %% "play-json-joda" % "2.9.4" | ||
), | ||
scalacOptions ++= Seq( | ||
"-explaintypes", | ||
"-feature", | ||
"-language:higherKinds", | ||
"-language:implicitConversions", | ||
"-language:postfixOps", | ||
"-Ymacro-annotations", | ||
// Warnings as errors! | ||
// "-Xfatal-warnings", | ||
// Linting options | ||
"-unchecked", | ||
"-Xcheckinit", | ||
"-Xlint:adapted-args", | ||
"-Xlint:constant", | ||
"-Xlint:delayedinit-select", | ||
"-Xlint:deprecation", | ||
"-Xlint:inaccessible", | ||
"-Xlint:infer-any", | ||
"-Xlint:missing-interpolator", | ||
"-Xlint:nullary-unit", | ||
"-Xlint:option-implicit", | ||
"-Xlint:package-object-classes", | ||
"-Xlint:poly-implicit-overload", | ||
"-Xlint:private-shadow", | ||
"-Xlint:stars-align", | ||
"-Xlint:type-parameter-shadow", | ||
"-Wdead-code", | ||
"-Wextra-implicit", | ||
"-Wnumeric-widen", | ||
"-Wunused:imports", | ||
"-Wunused:locals", | ||
"-Wunused:patvars", | ||
"-Wunused:privates", | ||
"-Wunused:implicits", | ||
"-Wunused:params" | ||
/* "-Wvalue-discard" */ | ||
), | ||
|
||
Compile / doc / sources := Seq.empty | ||
Compile / packageDoc / publishArtifact := false | ||
Compile / packageSrc / publishArtifact := false | ||
// Play provides two styles of routers, one expects its actions to be injected, the | ||
// other, legacy style, accesses its actions statically. | ||
routesGenerator := InjectedRoutesGenerator | ||
) | ||
|
||
scalacOptions ++= Seq( | ||
"-explaintypes", | ||
"-feature", | ||
"-language:higherKinds", | ||
"-language:implicitConversions", | ||
"-language:postfixOps", | ||
"-Ymacro-annotations", | ||
// Warnings as errors! | ||
// "-Xfatal-warnings", | ||
// Linting options | ||
"-unchecked", | ||
"-Xcheckinit", | ||
"-Xlint:adapted-args", | ||
"-Xlint:constant", | ||
"-Xlint:delayedinit-select", | ||
"-Xlint:deprecation", | ||
"-Xlint:inaccessible", | ||
"-Xlint:infer-any", | ||
"-Xlint:missing-interpolator", | ||
"-Xlint:nullary-unit", | ||
"-Xlint:option-implicit", | ||
"-Xlint:package-object-classes", | ||
"-Xlint:poly-implicit-overload", | ||
"-Xlint:private-shadow", | ||
"-Xlint:stars-align", | ||
"-Xlint:type-parameter-shadow", | ||
"-Wdead-code", | ||
"-Wextra-implicit", | ||
"-Wnumeric-widen", | ||
"-Wunused:imports", | ||
"-Wunused:locals", | ||
"-Wunused:patvars", | ||
"-Wunused:privates", | ||
"-Wunused:implicits", | ||
"-Wunused:params" | ||
/* "-Wvalue-discard" */ | ||
) | ||
|
||
libraryDependencies ++= Seq( | ||
"com.github.ornicar" %% "scalalib" % "7.1.0", | ||
"com.sksamuel.elastic4s" %% "elastic4s-client-esjava" % "7.17.4", | ||
"com.typesafe.play" %% "play-json" % "2.9.4", | ||
"com.typesafe.play" %% "play-json-joda" % "2.9.4" | ||
) | ||
|
||
resolvers += "lila-maven" at "https://raw.githubusercontent.com/ornicar/lila-maven/master" | ||
lazy val root = project | ||
.in(file(".")) | ||
.aggregate(app) | ||
|
||
// Play provides two styles of routers, one expects its actions to be injected, the | ||
// other, legacy style, accesses its actions statically. | ||
routesGenerator := InjectedRoutesGenerator |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Empty file.