Wrap expression in paranthesis

When I locally link to exoplayer source modules as described in the README and I
do this directly into a fig/citc client, I get an error saying
"missing_aar_type_workaround.gradle': 79: unexpected token: || @ line 79, column
29.". I can fix this by wrapping the expression in parenthesis (¯\_(ツ)_/¯).

I don't think this file lands in the public source tree, but if we want to
correct this, it may help someone from the team.

This CL can be ignored and reverted also.

PiperOrigin-RevId: 424537619
This commit is contained in:
bachinger 2022-01-27 08:25:52 +00:00 committed by Andrew Lewis
parent d2cc14a98b
commit 0b6837208b

View File

@ -74,8 +74,8 @@ def addMissingAarTypeToXml(xml) {
boolean hasJar =
jar_only_dependencies.contains(dependencyName)
boolean hasAar =
isProjectLibrary
|| aar_dependencies.contains(dependencyName)
(isProjectLibrary
|| aar_dependencies.contains(dependencyName))
if (!hasJar && !hasAar) {
throw new IllegalStateException(
dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle")