From a7fb10c4bdeadbf60cdcd18d4d2f958dfe722773 Mon Sep 17 00:00:00 2001 From: isabellekim Date: Tue, 5 Jan 2021 16:06:08 -0500 Subject: [PATCH] Automated g4 rollback of changelist 350190817 PiperOrigin-RevId: 350203158 --- lib/build.gradle | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/build.gradle b/lib/build.gradle index 3c2cd9c6a..0300fe7c7 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -175,16 +175,13 @@ task generateApiXml(type: Javadoc) { doLast { // Escape incorrect ampersands in API XML file if (OperatingSystem.current().isLinux()) { - exec { - commandLine "sed", "-i", "s/ & / \\& /g", "lib/${apiName}.xml" - } + ["sed", "-i", "s/ & / \\& /g", "lib/${apiName}.xml"].execute() } else { - exec { - commandLine "sed", "-i", "''", "s/ & / \\& /g", "lib/${apiName}.xml" - } + ["sed", "-i", "''", "s/ & / \\& /g", "lib/${apiName}.xml"].execute() } } } + task generateJdiffReport(type: Javadoc) { if (project.hasProperty('oldApi')) { def outputPath = project.hasProperty('outputPath') ? project.property('outputPath') : 'diffs-out'