From d551ee9d751201491a1d64e4da76ab03e3815df6 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Thu, 20 Sep 2018 14:15:50 +0800 Subject: Include scaladoc as part of mill inspect (#435) --- integration/test/resources/docannotations/build.sc | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 integration/test/resources/docannotations/build.sc (limited to 'integration/test/resources/docannotations') diff --git a/integration/test/resources/docannotations/build.sc b/integration/test/resources/docannotations/build.sc new file mode 100644 index 00000000..aa3fc113 --- /dev/null +++ b/integration/test/resources/docannotations/build.sc @@ -0,0 +1,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!" + } +} -- cgit v1.2.3