From 0b6837208b356b9d728c15996759a34c82d93843 Mon Sep 17 00:00:00 2001 From: bachinger Date: Thu, 27 Jan 2022 08:25:52 +0000 Subject: [PATCH] Wrap expression in paranthesis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- missing_aar_type_workaround.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/missing_aar_type_workaround.gradle b/missing_aar_type_workaround.gradle index 1c07e80343..b0b2fe7035 100644 --- a/missing_aar_type_workaround.gradle +++ b/missing_aar_type_workaround.gradle @@ -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")