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

(greg.gigon) #1

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

(Peter Niederwieser) #2

‘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.

(greg.gigon) #3

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


(Matt Khan) #4

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.