-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
70 lines (45 loc) · 1.68 KB
/
build.sbt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import com.typesafe.sbt.SbtNativePackager.packageArchetype
import com.typesafe.sbt.packager.Keys._
import com.typesafe.web.sbt.WebPlugin
import com.typesafe.jse.sbt.JsEnginePlugin
import com.typesafe.web.sbt.WebPlugin.WebKeys
import com.typesafe.jshint.sbt.JSHintPlugin
import Dependencies._
play.Project.playScalaSettings
name := "play-dart"
version := "1.0-SNAPSHOT"
packageArchetype.java_server
maintainer := "Gregory Bougeard <[email protected]>"
packageSummary := "play-dart"
packageDescription := "play-dart WIP"
scalaVersion := "2.10.2"
resolvers += Resolver.url("sbt-plugin-releases", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
libraryDependencies ++= Seq(
play.Project.jdbc,
play.Project.cache,
play.Project.filters,
slf4j,
logbackClassic,
mysql,
"joda-time" % "joda-time" % "2.3",
"org.joda" % "joda-convert" % "1.5",
jodaMapper,
playSlick,
playMetrics,
secureSocial,
scalaCheck
)
play.Project.playScalaSettings
WebPlugin.webSettings
JsEnginePlugin.jsEngineSettings
JSHintPlugin.jshintSettings
//sourceDirectory in WebKeys.Assets := (sourceDirectory in Compile).value / "assets"
//WebKeys.jsFilter in WebKeys.Assets := new PatternFilter("""[^_].*\.js""".r.pattern)
//resourceDirectory in WebKeys.Assets := (baseDirectory in Compile).value / "public"
//resourceManaged in WebKeys.Assets := (classDirectory in Compile).value / "public"
dartEntryPoints ++= Seq("main.dart" , "opinion.dart")
//dartEntryPoints ++= Seq("main.dart", "opinion_ctrl.dart", "lib/domain.dart", "lib/component/opinion/opinion_component.dart")
//
//dartWebUIEntryPoints += "testwebui.html"
dartDev := true
dartVerbose := true