summaryrefslogtreecommitdiff
path: root/scratch/build.sc
blob: 46c271b5f621fab9564bfdedddd58f4f1738de45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import mill.Agg
import mill.scalalib._

trait JUnitTests extends TestModule{
  def testFrameworks = Seq("com.novocode.junit.JUnitFramework")
  def ivyDeps = Agg(ivy"com.novocode:junit-interface:0.11")
}

object core extends JavaModule{
  object test extends Tests with JUnitTests
}
object app extends JavaModule{
  def moduleDeps = Seq(core)
  object test extends Tests with JUnitTests
}

object scalapb extends mill.contrib.scalapblib.ScalaPBModule {
  def scalaVersion = "2.12.4"
  def scalaPBVersion = "0.7.4"
}