Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Cyclic dependencies in 0.12.0-RC4 #511

Closed
harrah opened this Issue · 1 comment

1 participant

@harrah
Owner

If there are two projects defined like this:

|
|- A
|  |- project
|  |  |- Build.scala
|- B
|  |- project
|  |  |- Build.scala

with contents of the Build.scala files like:

import sbt._

object MyBuild extends Build {
    lazy val proj = Project("A", file("."))
}

respectively

import sbt._

object MyBuild extends Build {
    lazy val proj = Project("B", file(".")) dependsOn(RootProject(file("../A")))
}

there will be a "Cyclic reference" error. Renaming either of the Build objects resolves the issue.

@harrah harrah was assigned
@harrah
Owner

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#511 for the full issue and to comment.

@harrah harrah closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.