in src/main/groovy/org/jetbrains/gradle/ext/IdeaExtPlugin.groovy [165:170]
def doNotDetectFrameworks(String... ids) {
if (detectExclusions == null) {
detectExclusions = objectFactory.newInstance(FrameworkDetectionExclusionSettings)
}
detectExclusions.excludes.addAll(ids)
}