From 6ba753fe4e8e96725e4088d0f662be77647057d7 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Thu, 19 Mar 2020 08:25:20 -0700 Subject: [PATCH] Address review feedback --- gradle/ide.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)