diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-09-20 14:15:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 14:15:50 +0800 |
commit | d551ee9d751201491a1d64e4da76ab03e3815df6 (patch) | |
tree | 60471609f0957401fa1a7002578ad8c1acd6bc75 /integration/test/resources/docannotations/build.sc | |
parent | c8fd6bd9e1dc18c24e64147fcd221e0bf91c2d06 (diff) | |
download | mill-d551ee9d751201491a1d64e4da76ab03e3815df6.tar.gz mill-d551ee9d751201491a1d64e4da76ab03e3815df6.tar.bz2 mill-d551ee9d751201491a1d64e4da76ab03e3815df6.zip |
Include scaladoc as part of mill inspect (#435)
Diffstat (limited to 'integration/test/resources/docannotations/build.sc')
-rw-r--r-- | integration/test/resources/docannotations/build.sc | 30 |
1 files changed, 30 insertions, 0 deletions
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!" + } +} |