Skip to content

Commit

Permalink
Fixes #532
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Pipicello authored and lefou committed Jun 28, 2019
1 parent 2cda5dc commit 5bc0ba8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scalalib/src/GenIdeaImpl.scala
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package mill.scalalib

import ammonite.runtime.SpecialClassLoader
import coursier.Repository
import mill.define._
import mill.eval.{Evaluator, PathRef, Result}
import coursier.{LocalRepositories, Repositories}
import mill.api.Ctx.{Home, Log}
import mill.api.Strict.Agg
import mill.api.{Loose, Strict}
import mill.api.{Loose, Result, Strict}
import mill.define._
import mill.eval.{Evaluator, PathRef}
import mill.{T, scalalib}
import os.Path

Expand Down Expand Up @@ -77,7 +77,7 @@ object GenIdeaImpl {
else sys.props.get("MILL_BUILD_LIBRARIES") match {
case Some(found) => found.split(',').map(os.Path(_)).distinct.toList
case None =>
val repos = modules.foldLeft(Set.empty[Repository]) { _ ++ _._2.repositories }
val repos = Seq(LocalRepositories.ivy2Local, Repositories.central)
val artifactNames = Seq("main-moduledefs", "main-api", "main-core", "scalalib", "scalajslib")
val Result.Success(res) = scalalib.Lib.resolveDependencies(
repos.toList,
Expand Down

0 comments on commit 5bc0ba8

Please sign in to comment.