diff --git a/gradle/ide.gradle b/gradle/ide.gradle index 8a6f10050d2d0..3580f4a28f28e 100644 --- a/gradle/ide.gradle +++ b/gradle/ide.gradle @@ -71,7 +71,7 @@ idea { } codeStyle { java { - classCountToUseImportOnDemand = 99 + classCountToUseImportOnDemand = 999 } } encodings { @@ -130,6 +130,12 @@ idea { } } +/** + * Parses a given XML file, applies a set of changes, and writes those changes back to the original file. + * + * @param path Path to existing XML file + * @param action Action to perform on parsed XML document + */ void modifyXml(Object path, Action action) { File xmlFile = project.file(path) Node xml = new XmlParser().parse(xmlFile)