String toString()

in src/main/groovy/org/jetbrains/gradle/ext/IdeaExtPlugin.groovy [180:202]


  String toString() {
    def map = collectExtensionsMap()

    if (detectExclusions != null) {
      map.put("frameworkDetectionExcludes", detectExclusions.excludes)
    }

    if (ideaFilesProcessor.hasPostprocessors()) {
      map.put("requiresPostprocessing", true)
    }

    boolean hasNestedPostprocessors = ideaFilesProcessor.anyHasProcessors()

    if (hasNestedPostprocessors) {
      map.put("requiresPostprocessing", true)
    }

    if (generateImlFiles != null) {
      map.put("generateImlFiles", generateImlFiles);
    }

    return new Gson().toJson(map)
  }