hello,
I use code like this in all projects to gather (references to)
dependencies:
ext.deps = configurations.runtime.files.collect { "lib/${it.name}" }
This works fine.
However, when my project (e.g. 'freeplane_plugin_formula') has one more
project dependency (to 'freeplane_plugin_script'):
dependencies {
compile project(':freeplane')
compile project(':freeplane_plugin_script')
}
Then I get:
FAILURE: Build failed with an exception.
* Where:
Build file '/home/felix/src/freeplane/freeplane_plugin_formula/build.gradle'
line: 13
* What went wrong:
A problem occurred evaluating project ':freeplane_plugin_formula'.
> Could not resolve all dependencies for configuration
> ':freeplane_plugin_formula:runtime'.
> Received unexpected module descriptor
freeplane:freeplane_plugin_script:1.0.1 for dependency
freeplane:freeplane_plugin_script:unspecified.
Required by:
freeplane:freeplane_plugin_formula:1.0.1
build.gradle:13 is where configurations.runtime.files is evaluated.
I am using gradle 1.5. Please tell me if you need more info.
Many Thanks in Advance!
--
Felix Natter
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email