This is probably an easy question, but I can't seem to figure it out.
Say I have a project with several child modules:
parent
|-- child1
|-- child2
I want to add slf4j-api as a dependency to all child modules:
subprojects {
dependencies {
compile "org.slf4j:slf4j-api:1.6.1"
}
}
However, when I try to add more dependencies to one of the child modules:
project(':child1') {
dependencies {
compile "some other depends"
}
}
.. I get the error:
A problem occurred evaluating root project...
Cause: You can't change a configuration which is not in unresolved state!
How can I accomplish what I'm trying to do? Also, what is that error
message trying to say?
Ryan
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email