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:
parent
d2cc14a98b
commit
0b6837208b
@ -74,8 +74,8 @@ def addMissingAarTypeToXml(xml) {
|
|||||||
boolean hasJar =
|
boolean hasJar =
|
||||||
jar_only_dependencies.contains(dependencyName)
|
jar_only_dependencies.contains(dependencyName)
|
||||||
boolean hasAar =
|
boolean hasAar =
|
||||||
isProjectLibrary
|
(isProjectLibrary
|
||||||
|| aar_dependencies.contains(dependencyName)
|
|| aar_dependencies.contains(dependencyName))
|
||||||
if (!hasJar && !hasAar) {
|
if (!hasJar && !hasAar) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle")
|
dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user