mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-05 03:58:19 +08:00
Automated g4 rollback of changelist 350190817
PiperOrigin-RevId: 350203158
This commit is contained in:
parent
a2d95a7870
commit
a7fb10c4bd
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user