progs/display/build.sc
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 10 Oct 2022 15:15:15 +0100
changeset 888 fc812b8f120f
parent 873 a25da86f7c8c
permissions -rw-r--r--
texupdate
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 {
873
a25da86f7c8c updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 738
diff changeset
     8
  def scalaVersion = "2.13.6"
738
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(
873
a25da86f7c8c updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 738
diff changeset
    11
    ivy"com.lihaoyi::cask:0.8.0",
a25da86f7c8c updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 738
diff changeset
    12
    ivy"com.lihaoyi::scalatags:0.9.4"
738
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
}