Gradle IDEA plugin is not behaving correctly with M9, fails on Workspace configuration withXml

As I couldn’t get anywhere with my previous post, I created a simple git-hub project with multi project layout.

I am getting errors when I try to run gradle idea task.

I also get: Dynamic properties have been deprecated (property “jdkName” on the object “org.gradle.plugins.ide.idea.model.IdeaModel_Decorated@12c55e4” with value “1.6” created). It’s odd.

Could you please have a look and suggest solution?

Cheers, Greg

‘idea.project’ and ‘idea.workspace’ can only be configured for the root project. It has always been this way, though maybe (much) earlier Gradle versions silently accepted a wrong configuration.

Thanks Peter. A line of explanation that I needed :slight_smile:


FWIW I don’t find this particularly obvious in the docs (though now I know it, it is more obvious). I think it would be helpful to spell this out more explicitly.