luckybilly / CC

业界首个支持渐进式组件化改造的Android组件化开源框架,支持跨进程调用。Componentize your android project gradually.
https://luckybilly.github.io/CC-website/
Apache License 2.0
4.05k stars 635 forks source link

fix multiple points exception #96

Closed Ccixyj closed 5 years ago

Ccixyj commented 5 years ago

修复gradle verion 像4.10.1这样的时候解析报错的问题 #95

LeoYu007 commented 5 years ago

我也遇到了,大佬有空可以改一下 Caused by: java.lang.NumberFormatException: multiple points at com.billy.android.register.cc.ProjectModuleManager$_addComponentDependencyMethod_closure2.doCall(ProjectModuleManager.groovy:142) at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:479) at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:191) at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:42) at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:133) at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:78) at build_b89j3n4fvdk30jk2iahff042m$_run_closure2.doCall(D:\workSpace\Falcon\app\build.gradle:42) at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:71) at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:155) at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:106) at org.gradle.api.internal.project.DefaultProject.dependencies(DefaultProject.java:1187) at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:479) at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:191) at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98) at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:30) at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:133) at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:160) at org.gradle.groovy.scripts.BasicScript.invokeMethod(BasicScript.java:82) at build_b89j3n4fvdk30jk2iahff042m.run(D:\workSpace\Falcon\app\build.gradle:36) at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90) ... 103 more

BUILD FAILED in 0s

Ccixyj commented 5 years ago

@LambertCoding 你把gradle 版本调低吧。调成4.9及以下版本

luckybilly commented 5 years ago

@Ccixyj 谢谢你的PR,很有帮助。麻烦把PR提交到dev分支,我打算合并进来之后再加上别的修改内容一起在年前再更新一个版本。 谢谢!

Ccixyj commented 5 years ago

好的