Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【优化】变体(variant)找不到问题 #4

Open
lzy-h2o2 opened this issue Mar 9, 2022 · 1 comment
Open

【优化】变体(variant)找不到问题 #4

lzy-h2o2 opened this issue Mar 9, 2022 · 1 comment

Comments

@lzy-h2o2
Copy link

lzy-h2o2 commented Mar 9, 2022

如果在build脚本中变体名称有特殊符号比如:下划线 “_”,就会出现类似“variant XXX not found. reinforce termination.”的提示,因为特殊符号无大小写区别,导致找不到。也不能含有大写字母

@lzy-h2o2 lzy-h2o2 changed the title 变体(variant)找不到问题 【优化】变体(variant)找不到问题 Mar 9, 2022
@xiazunyang
Copy link
Owner

变体名称是从打包任务的名称中提取的,具体代码在这里:
https://github.com/xiazunyang/reinforcer/blob/master/plugin/src/main/java/cn/numeron/reinforcer/ReinforcerPlugin.kt#L46
它确实存在一些局限,在我找到更好的解决方法之后,会考虑优化它。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants