-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
32 lines (21 loc) · 751 Bytes
/
build.sbt
File metadata and controls
32 lines (21 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import sbt.Keys._
name := "search_engine"
version := "1.0"
scalaVersion := "2.11.11"
resolvers += Resolver.url("Typesafe Ivy releases", url("https://repo.typesafe.com/typesafe/ivy-releases"))(Resolver.ivyStylePatterns)
lazy val `search_engine` = (project in file("."))
.aggregate(`crawler`, `search_api`)
lazy val `crawler` = project in file("crawler")
lazy val `search_api` = (project in file("search_api"))
.dependsOn(crawler)
.enablePlugins(PlayScala)
.enablePlugins(SbtWeb)
val runCrawler = inputKey[Unit]("Runs crawler ...")
val runSearchApi = inputKey[Unit]("Runs search_api ...")
runCrawler := {
(run in Compile in `crawler`).evaluated
}
runSearchApi := {
(run in Compile in `search_api`).evaluated
}
fork in run := true