Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: None
Gradle Forums topic Reference:
Above only works if the subproject has a JavaBase plugin applied. If not various script compile time errors occur, for example:
Could not find method whenMerged() for arguments [build_22ci319j0o3fipj4dom75lr8dj$_run_closure2_closure4_closure5@71dd95c]
We should look into ways of improving the dsl / error message and perhaps review the samples / docs that mention classpath.file.whenMerged feature.
1. Apply java plugin (or some other plugin, that also applies JavaBase plugin) before applying the eclipse plugin.
2. Use plugins.withType: