Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derived new GenIdea module to support meta-builds #2638

Merged
merged 21 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
lefou committed Aug 16, 2023
commit 863307dddf4cc4f81819ffe7cc5a65567e5d0499
2 changes: 1 addition & 1 deletion idea/src/mill/idea/GenIdea.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object GenIdea extends ExternalModule {

def idea(ev: Evaluator): Command[Unit] = T.command {
try {
Result.Success(mill.idea.GenIdeaImpl(
Result.Success(GenIdeaImpl(
evaluator = ev,
rootModule = ev.rootModule,
discover = ev.rootModule.millDiscover
Expand Down
5 changes: 2 additions & 3 deletions idea/src/mill/idea/GenIdeaImpl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ import scala.util.Try
import scala.xml.{Elem, MetaData, Node, NodeSeq, Null, UnprefixedAttribute}
import coursier.core.compatibility.xmlParseDom
import coursier.maven.Pom
import fansi.Attrs
import mill.Agg
import mill.api.Ctx
import mill.api.{Logger, PathRef, Result, Strict}
import mill.api.{PathRef, Strict}
import mill.define.{Ctx => _, _}
import mill.eval.Evaluator
import mill.main.BuildInfo
import mill.runner.RootModuleFinder
import mill.scalalib.GenIdeaModule.{IdeaConfigFile, JavaFacet}
import mill.scalalib.internal.JavaModuleUtils
import mill.util.{Classpath, DummyLogger}
import mill.util.{Classpath}
import mill.{T, scalalib}
import os.{Path, SubPath}
import mill.scalalib.{GenIdeaImpl => _, _}
Expand Down