现象
Error:(75, 1) A problem occurred evaluating project ‘:common’.
Cannot convert a null value to an object of type Dependency.
The following types/formats are supported:
Instances of Dependency.
String or CharSequence values, for example ‘org.gradle:gradle-core:1.0’.
Maps, for example [group: ‘org.gradle’, name: ‘gradle-core’, version: ‘1.0’].
FileCollections, for example files(‘some.jar’, ‘someOther.jar’).
Projects, for example project(‘:some:project:path’).
ClassPathNotation, for example gradleApi().
Comprehensive documentation on dependency notations is available in DSL reference for DependencyHandler type.
原因
总的gradle删掉了 依赖 但是模块里面还在依赖 导致编译报错
网友评论