You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/build/src/main/scala/scala/build/ReplArtifacts.scala
-52Lines changed: 0 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -31,58 +31,6 @@ final case class ReplArtifacts(
31
31
}
32
32
33
33
objectReplArtifacts {
34
-
// TODO In order to isolate more Ammonite dependencies, we'd need to get two class paths:
35
-
// - a shared one, with ammonite-repl-api, ammonite-compiler, and dependencies
36
-
// - an Ammonite-specific one, with the other ammonite JARs
37
-
// Then, use the coursier-bootstrap library to generate a launcher creating to class loaders,
38
-
// with each of those class paths, and run Ammonite with this launcher.
39
-
// This requires to change this line in Ammonite, https://github.com/com-lihaoyi/Ammonite/blob/0f0d597f04e62e86cbf76d3bd16deb6965331470/amm/src/main/scala/ammonite/Main.scala#L99,
40
-
// to
41
-
// val contextClassLoader = classOf[ammonite.repl.api.ReplAPI].getClassLoader
42
-
// so that only the first loader is exposed to users in Ammonite.
43
-
defammonite(
44
-
scalaParams: ScalaParameters,
45
-
ammoniteVersion: String,
46
-
dependencies: Seq[AnyDependency],
47
-
extraClassPath: Seq[os.Path],
48
-
extraSourceJars: Seq[os.Path],
49
-
extraRepositories: Seq[Repository],
50
-
logger: Logger,
51
-
cache: FileCache[Task],
52
-
addScalapy: Option[String]
53
-
):Either[BuildException, ReplArtifacts] = either {
0 commit comments