Gradle and Out of content root error

Any news on this IntelliJ issue from one year ago:

https://youtrack.jetbrains.com/issue/IDEA-122577


Using Gradle with something like:

sourceSets {
    main {
        groovy {
            srcDirs = ['../../shared_root/src/groovy']
        }
    }
}


This leads to:
Error:Can't register given path of type 'SOURCE' because it's out of content root.
....

Please sign in to leave a comment.