From 107ba88754673e08b030b9ba1c8f4e6f1eefd13d Mon Sep 17 00:00:00 2001 From: Andrew Richards Date: Thu, 22 Feb 2018 04:15:42 +0000 Subject: GenIdea updates including a fix for #147 (#149) * extract JDK version so you don't have to keep resetting it * give modules a base path looks much nicer in IntelliJ - the module is now in bold * exclude sbt target directories stops sbt artifacts appearing in search * Fix #147 - add IntelliJ scala library * exclude root sbt project and target folders from IJ search * only resort to full long path names for jars if the name is a duplicate duplicates are hard to find unless you are pulling the same thing from different repos (therefore different path) * update GenIdea tests * tidy GenIdea --- scalalib/test/src/mill/scalalib/GenIdeaTests.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scalalib/test/src') diff --git a/scalalib/test/src/mill/scalalib/GenIdeaTests.scala b/scalalib/test/src/mill/scalalib/GenIdeaTests.scala index a6700824..0ce9533f 100644 --- a/scalalib/test/src/mill/scalalib/GenIdeaTests.scala +++ b/scalalib/test/src/mill/scalalib/GenIdeaTests.scala @@ -23,7 +23,10 @@ object GenIdeaTests extends TestSuite { 'genIdeaTests - { val pp = new scala.xml.PrettyPrinter(999, 4) - val layout = GenIdea.xmlFileLayout(helloWorldEvaluator.evaluator, HelloWorld, fetchMillModules = false) + val layout = GenIdea.xmlFileLayout( + helloWorldEvaluator.evaluator, + HelloWorld, + ("JDK_1_8", "1.8 (1)"), fetchMillModules = false) for((relPath, xml) <- layout){ write.over(millSourcePath/ "generated"/ relPath, pp.format(xml)) } -- cgit v1.2.3