summaryrefslogtreecommitdiff
path: root/scratch/build.sc
blob: 0a33c86ecce452474e28203c6ee837be8c6e4704 (plain) (blame)
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
import mill.Agg
import mill.scalalib._

trait JUnitTests extends TestModule{
  def testFrameworks = Seq("com.novocode.junit.JUnitFramework")

  /**
    * Overriden ivyDeps Docs!!!
    */
  def ivyDeps = Agg(ivy"com.novocode:junit-interface:0.11")
  def task = T{
    "???"
  }
}

/**
  * The Core Module Docz!
  */
object core extends JavaModule{
  object test extends Tests with JUnitTests

  /**
    * Core Task Docz!
    */
  def task = T{
    import collection.JavaConverters._
    println(this.getClass.getClassLoader.getResources("scalac-plugin.xml").asScala.toList)
    "Hello!"
  }
}