I have a custom configuration scope in gradle named "server". How can I add this scope to the idea compile scopes? I have tried the following:
scopes.COMPILE.plus += [configurations.server]
However when I resync the idea project with the gradle build file, I end up with all of the dependencies being removed from the artifact and have to manually add the dependencies back to the artifact.
I would like all of the dependencies in the "server" configuration scope to be added to the idea artifact.