summaryrefslogtreecommitdiff
path: root/integration/test/resources/docannotations/build.sc
blob: aa3fc1136fb374601e9984542ca64a51d6c84be7 (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
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!"
  }
}