progs/display/build.sc
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 09 Dec 2021 00:07:51 +0000
changeset 862 3ea5ba4bc3b4
parent 738 084e2843f478
child 873 a25da86f7c8c
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
738
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
import mill._
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
import scalalib._
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
val baseDir = build.millSourcePath
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
object app extends ScalaModule {
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
  def scalaVersion = "2.13.3"
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
  def ivyDeps = Agg(
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
    ivy"com.lihaoyi::cask:0.6.7",
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    12
    ivy"com.lihaoyi::scalatags:0.9.1"
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
  )
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
  override def sources = T.sources(baseDir / "display.scala")
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    16
  //override def resources = T.sources(baseDir / "static")
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
084e2843f478 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
}