Hi, I have a task in the root project that needs to dependOn a task in a subproject:
I tried this:
idea.dependsOn(:modules:ae:copyPassman)
but I get this error:
Could not compile build file '/Users/philswenson/dev/sag/opt/build.gradle'.
> startup failed:
build file '/Users/philswenson/dev/sag/opt/build.gradle': 80: illegal colon after argument expression;
solution: a complex label expression before a colon must be parenthesized @ line 80, column 30.
idea.dependsOn(modules:bam-ae:copyPassman)
I don’t really understand the error message… thoughts?
* Where:
Build file '/Users/philswenson/dev/sag/opt/build.gradle' line: 80
* What went wrong:
A problem occurred evaluating root project 'bam'.
> Could not find method dependsOn() for arguments [modules:bam-ae:copyPassman] on org.gradle.plugins.ide.idea.model.IdeaModel_Decorated@444e0b0c.