Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 okbuck 将我的 Android Gradle 项目转换为 Buck。但是,当我构建项目时,许多常量表达式所需的错误会破坏构建过程。我知道我可以用“if”替换“switch”语句来修复错误。还有其他方法可以强制 Buck 忽略常量表达式检查吗?谢谢。
您必须将其转换为 if/else 块(文档)